IAdmBusinessUnitMembershipRule
IAdmBusinessUnitMembershipRule is the base interface for membership rules of business units and rule-based groups. All interfaces that represent membership rules of different types are inherited from this interface.
Methods
-
Method
-
Description
-
IsObjectAffected()
-
Checks whether the given object meets the requirements of the membership rule.
-
ResolveValueReferences()
-
Returns the given membership rule with value references replaced with the values of the corresponding user properties.
Properties
-
Property
-
Description
-
Type
-
Gets a value that indicates the type of the membership rule.
-
Exclude
-
Gets or sets a value indicating whether the objects matching the membership rule will be excluded or included in the business unit or rule-based group.
-
Disabled
-
Gets or sets a value indicating whether the membership rule is disabled.
Details
IsObjectAffected()
Checks whether the given object meets the requirements of the membership rule.
bool IsObjectAffected(IADs object)
Parameters
- object – the directory object to check.
ResolveValueReferences()
Returns the given membership rule with value references replaced with the values of the corresponding user properties.
IAdmBusinessUnitMembershipRule ResolveValueReferences(out string[] warnings)
Parameters
warnings – an output (OUT) parameter that returns an array of warnings issued while replacing value references.
Type
Gets a value that indicates the type of the membership rule.
- Type:
- ADM_BUSINESSUNITMEMBERSHIPTYPE_ENUM
- Access:
- Read-only
Remarks
Interfaces supported by different membership rule types.
Exclude
Gets or sets a value indicating whether the objects matching the membership rule will be excluded or included in the business unit or rule-based group.
- Type:
- bool
- Access:
- Read/Write
Disabled
Gets or sets a value indicating whether the membership rule is disabled.
- Type:
- bool
- Access:
- Read/Write
Requirements
Minimum required version: 2023