Skip to content

IAdmApproverGroups

The IAdmApproverGroups interface represents a collection of groups whose members can approve or deny an operation.

Inheritance: The IAdmApproverGroups interface inherits from the IEnumerable interface.

Methods

  • Method

  • Description

  • Add()

  • Adds a group of approvers to the collection.

  • Clear()

  • Removes all groups of approvers 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 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 of operation approvers.

Properties

  • Property

  • Description

  • Count

  • Gets the number of approver groups in the collection.

Details

Add()

Adds a group of approvers to the collection.

void Add(IAdmGroup group)

Clear()

Removes all groups of approvers 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(Int32 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(Int32 index)

IsApprover()

Checks whether the specified directory object is a member of any of the groups in the collection.

Boolean IsApprover(IAdmTop object)

Parameters

The object parameter specifies the directory object to be checked.


GetEnumerator()

Retrieves an enumerator object for this collection of groups of operation approvers. The enumerator object implements the IEnumerator interface that can be used to enumerate approver groups in foreach loops.

IEnumerator GetEnumerator()

Count

Gets the number of approver groups in the collection.

  • Type:
  • Int32
  • Access:
  • Read-only

Requirements

Minimum required version: 2009.1

See also