FindAttr(AttrProperty: String; SubjectAttribute: Variant; AttrValue: Variant; ResultProperty: String): Variant;
AttrProperty. Attribute property specified to the right from the point in the attribute name. For example, for the SUBJECT.NAME attribute, the left part before the point specifies the group of the SUBJECT subjects attributes and the right part from the point specifies the NAME attribute property. The parameter is used to filter attributes in the collection by the specified property.
SubjectAttribute. The SUBJECT.GROUPS subject attribute. The list of groups where the user is included.
AttrValue. A numeric or string found value corresponding to the specified attribute value in the AttrProperty parameter.
ResultProperty. The property of found attribute which value must be obtained.
The FindAttr method searches for the attribute by specified property in the list of groups where the user is included.
The method returns value of the specified property of found attribute and it is used only in string view to set expression by which the additional condition to check access will be calculated, using the IExpression.AsString property.
To determine an additional condition to check access, use the IABACRule.Condition property.
See also: