IAdmApprovalRequest

The IAdmApprovalRequest interface represents an approval request.

Inheritance: IAdmTop

Methods

Properties

  • Property

  • Description

  • Requestor

  • Gets the user who performed the operation that requires an approval.

  • ProcessedBy

  • Gets the user who approved or denied the approval request.

  • DescriptionOfOperationToApprove

  • Gets or sets a description of the operation awaiting for the result of the approval request.

  • DescriptionOfOperationToApproveXml

  • Gets or sets an XML document containing a description of the operation awaiting for the result of the approval request.

  • ApprovalState

  • Gets the current state of the approval request.

  • CreationDate

  • Gets the date and time of creation of the approval request.

  • TargetObject

  • Gets or sets a directory object, on which the operation awaiting for the result of the approval request was performed.

  • TargetObjectParent

  • Gets or sets the parent of the directory object, on which the operation awaiting for the result of the approval request was performed.

  • DenialOrCancelingReason

  • Gets the reason why the approval request was denied or cancelled.

Details

Approve()

Approves the approval request.

void Approve()

Deny()

Denies the approval request.

void Deny(string reason)

Parameters

The reason parameter specifies the reason why the approval request was denied.


Cancel()

Cancels the approval request.

void Cancel(string reason)

Parameters

The reason parameter specifies the reason why the approval request was cancelled.


GetApproversInfo()

Returns the IAdmRequestApproversInfo interface that represents a list of approvers for the approval request.

IAdmRequestApproversInfo GetApproversInfo()

SetApproversInfo()

Updates the list of approvers of the approval request.

void SetApproversInfo(IAdmRequestApproversInfo approversinfo)

Remarks

This method does not persist the changes to the directory. Call IADs::SetInfo to save the changes.


Requestor

Gets the user who performed the operation that requires an approval.


ProcessedBy

Gets the user who approved or denied the approval request.


DescriptionOfOperationToApprove

Gets or sets a description of the operation awaiting for the result of the approval request.

  • Type:
  • string
  • Access:
  • Read/Write

DescriptionOfOperationToApproveXml

Gets or sets an XML document containing a description of the operation awaiting for the result of the approval request.

  • Type:
  • string
  • Access:
  • Read/Write

ApprovalState

Gets the current state of the approval request.


CreationDate

Gets the date and time of creation of the approval request.

  • Type:
  • DateTime
  • Access:
  • Read-only

TargetObject

Gets or sets a directory object, on which the operation awaiting for the result of the approval request was performed.


TargetObjectParent

Gets or sets the parent of the directory object, on which the operation awaiting for the result of the approval request was performed.


DenialOrCancelingReason

Gets the reason why the approval request was denied or cancelled.

  • Type:
  • string
  • Access:
  • Read-only

Requirements

Minimum required version: 2009.1

See also