Skip to content

IAdmApproverTrustees

The IAdmApproverTrustees interface represents a collection of users who can approve or deny an operation.

Inheritance: The IAdmApproverTrustees interface inherits from the IEnumerable interface.

Methods

  • Method

  • Description

  • Add()

  • Adds an approver to the collection.

  • Clear()

  • Removes all approvers from the collection.

  • Remove()

  • Removes the first occurrence of a specific approver from the collection.

  • GetObject()

  • Gets an approver by index.

  • GetObjectGuid()

  • Gets the GUID of the directory object representing an approver by index.

  • IsApprover()

  • Checks whether the given user account is present in the collection.

  • GetEnumerator()

  • Retrieves an enumerator object for this collection of operation approvers.

Properties

  • Property

  • Description

  • Count

  • Gets the number of approvers in the collection.

Details

Add()

Adds an approver to the collection.

void Add(IAdmTop object)

Clear()

Removes all approvers from the collection.

void Clear()

Remove()

Removes the first occurrence of a specific approver from the collection.

void Remove(IAdmTop object)

GetObject()

Gets an approver by index.

IAdmTop GetObject(Int32 index)

GetObjectGuid()

Gets the GUID of the directory object representing an approver by index. The GUID is represented as an array of 16 bytes (Byte[]).

Byte[] GetObjectGuid(Int32 index)

IsApprover()

Checks whether the given user account is present in the collection.

Boolean IsApprover(IAdmTop object)

Parameters

The object parameter is the directory object that represents the user account to be checked.


GetEnumerator()

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

IEnumerator GetEnumerator()

Count

Gets the number of approvers in the collection.

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

Requirements

Minimum required version: 2009.1

See also