IAdmApproverTrustees

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

Inheritance: IEnumerable

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(int 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(int index)

IsApprover()

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

bool 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:
  • int
  • Access:
  • Read-only

Requirements

Minimum required version: 2009.1

See also