IAdmRequestApproversInfo2
The IAdmRequestApproversInfo2 interface extends the IAdmRequestApproversInfo interface.
Inheritance: IUnknown
Methods
-
Method
-
Description
-
GetApproversEx()
-
Returns a collection of all the possible approvers of the request.
-
IsApproverEx()
-
Checks whether the specified directory object is an approver of the operation.
Properties
-
Property
-
Description
-
OwnerOfRequestorOUIsApprover
-
Gets or sets a value indicating whether the owner of the organizational unit where the account of the operation initiator is located can approve or deny the request.
-
ManagerOfTargetObjectIsApprover
-
Gets or sets a value indicating whether the manager or owner of the target directory object can approve or deny the request.
-
OwnerOfTargetObjectOUIsApprover
-
Gets or sets a value indicating whether the owner of the organizational unit where the target object is located can approve or deny the request.
Details
GetApproversEx()
Returns a collection of all the possible approvers of the request.
IAdmApprovers GetApproversEx(IAdmTop requestor, IAdmTop targetObject)
Parameters
- requestor - Specifies the user who initiated the operation requiring an approval.
- targetObject - Specifies the directory object on which the operation awaiting for the result of the approval request was performed.
IsApproverEx()
Checks whether the specified directory object is an approver of the operation.
bool IsApproverEx(IAdmTop object,
IAdmTop requestor,
IAdmTop targetObject)
Parameters
- object - Specifies the directory object to be checked.
- requestor - Specifies the user who initiated the operation requiring an approval.
- targetObject - Specifies the directory object on which the operation awaiting for the result of the approval request was performed.
Remarks
This method substitutes the IAdmRequestApproversInfo::IsApprover method. Unlike the IAdmRequestApproversInfo::IsApprover method, this method takes into account the following options: Manager of the requestor, Manager of the target user, Owner of the requestor's OU, Owner of the target user's OU.
OwnerOfRequestorOUIsApprover
Gets or sets a value indicating whether the owner of the organizational unit where the account of the operation initiator is located can approve or deny the request.
- Type:
- bool
- Access:
- Read/Write
ManagerOfTargetObjectIsApprover
Gets or sets a value indicating whether the manager or owner of the target directory object can approve or deny the request.
- Type:
- bool
- Access:
- Read/Write
OwnerOfTargetObjectOUIsApprover
Gets or sets a value indicating whether the owner of the organizational unit where the target object is located can approve or deny the request.
- Type:
- bool
- Access:
- Read/Write
Requirements
Minimum required version: 2011.2