Intersecc

Syntax

Intersecc(AttrProperty: String, Value1: Variant, Value2: Variant)

Parameters

AttrProperty. Attribute property specified to the right of the period in the attribute name. For example, the left part of the SUBJECT.NAME attribute before the period determines the SUBJECT group of subject attributes, and the right part after the period specifies the NAME attribute. The parameter is used to filter attributes in the collection by the specified property.

Value1. The first compared attribute.

Value2. The second compared attribute.

The following is set as argument:

For details see the Available Attributes section.

Description

It searches for common values in compared arguments by the specified attribute property and returns the value:

Example

Formula Result
= Intersecc("NAME", SUBJECT.GROUPS, "ADMIN") The function returns True if the ADMIN group name matches one of the names in the list of the groups, which contain the user, otherwise it returns False.
= Intersecc("NAME", SUBJECT.GROUPS, OBJECT.ATTR) The function returns True if the list of the groups, which contain the user, and the array of object attribute values with the ATTR identifier contains at least one matching group name, otherwise it returns False.

See also:

Functions Available in Expression Editor | Attribute-Based Access Control | IABACUtils.Intersecc