IAdmBusinessUnitQueryRule
The IAdmBusinessUnitQueryRule interface represents the Query results membership rule of business units and rule-based groups.
Inheritance: IAdmBusinessUnitMembershipRule
Methods
-
GetCriteria()
-
Returns the IAdmCriteria interface that represents the criteria for matching objects.
-
SetCriteria()
-
Sets the criteria for matching objects.
Properties
-
Property
-
Description
-
BaseObjectPath
-
Gets or sets the ADS path of an object in the directory hierarchy to start the search from.
-
BaseObjectDnTemplate
-
Gets or sets a string template for the distinguished name of the search base object.
-
Scope
-
Gets or sets a value indicating the scope of the directory search.
Details
GetCriteria()
Returns the IAdmCriteria interface that represents the criteria for matching objects.
IAdmCriteria GetCriteria()
SetCriteria()
Sets the criteria for matching objects.
void SetCriteria(IAdmCriteria criteria)
Parameters
- criteria – a Criteria filter. For details on building filters, see How to build criteria.
BaseObjectPath
Gets or sets the ADS path of an object in the directory hierarchy to start the search from. If the path contains value references, use the BaseObjectDnTemplate property instead.
- Type:
- string
- Access:
- Read/Write
Remarks
When this property is set, the BaseObjectDnTemplate property is automatically set to an empty string.
BaseObjectDnTemplate
Gets or sets a string template for the distinguished name of the search base object. You can use value references in the template. After value references are resolved, the string must be a valid distinguished name of a directory object.
- Type:
- string
- Access:
- Read/Write
Remarks
When this property is set, the BaseObjectPath property is automatically set to an empty string.
Scope
Gets or sets a value indicating the scope of the directory search.
- Type:
- ADS_SCOPEENUM
- Access:
- Read/Write
Requirements
Minimum required version: 2023