IAdmApproverGroups
The IAdmApproverGroups interface represents a collection of groups whose members can approve or deny an operation.
Inheritance: IEnumerable
Methods
-
Method
-
Description
-
Add()
-
Adds a group to the collection.
-
Clear()
-
Removes all groups from the collection.
-
Remove()
-
Removes the first occurrence of the given group from the collection.
-
GetObject()
-
Gets a group of approvers by index.
-
GetObjectGuid()
-
Gets the GUID of a group of approvers by the group index.
-
IsApprover()
-
Checks whether the specified directory object is a member of any of the groups in the collection.
-
GetEnumerator()
-
Retrieves an enumerator object for this collection of groups.
Properties
-
Property
-
Description
-
Count
-
Gets the number of groups in the collection.
Details
Add()
Adds a group to the collection.
void Add(IAdmGroup group)
Clear()
Removes all groups from the collection.
void Clear()
Remove()
Removes the first occurrence of the given group from the collection.
void Remove(IAdmGroup group)
GetObject()
Gets a group of approvers by index.
IAdmGroup GetObject(int index)
GetObjectGuid()
Gets the GUID of a group of approvers by group index. The GUID is represented as an array of 16 bytes (Byte[]).
Byte[] GetObjectGuid(int index)
IsApprover()
Checks whether the specified directory object is a member of any of the groups in the collection.
bool IsApprover(IAdmTop object)
Parameters
- object – the directory object to check.
GetEnumerator()
Retrieves an enumerator object for this collection of groups. The enumerator implements the IEnumerator interface that can be used to enumerate groups in foreach loops.
IEnumerator GetEnumerator()
Count
Gets the number of groups in the collection.
- Type:
- int
- Access:
- Read-only
Requirements
Minimum required version: 2009.1