IAdmBusinessUnitMembershipRule
IAdmBusinessUnitMembershipRule is the base interface for business unit membership rules. 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 given membership rule with value references replaced with values of corresponding properties of the user.
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 complying with the membership rule will be excluded from or included in the business unit.
-
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
The object parameter specifies the directory object to check.
ResolveValueReferences()
Returns the given given membership rule with value references replaced with values of corresponding properties of the user.
IAdmBusinessUnitMembershipRule ResolveValueReferences(out string[] warnings)
Parameters
warnings is an 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 complying with the membership rule will be excluded from or included in the business unit.
- 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