IAdmRequestApproversInfo2
The IAdmRequestApproversInfo2 interface extends the IAdmRequestApproversInfo interface.
Inheritance: IUnknown
Methods
-
Method
-
Description
-
GetApproversEx()
-
Returns a collection of all the possible approvers of the operation.
-
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 operation.
IAdmApprovers GetApproversEx(IAdmTop requestor, IAdmTop targetObject)
Parameters
- requestor – the user who initiated the operation requiring an approval.
- targetObject – the directory object targeted by the operation that was sent for approval.
IsApproverEx()
Checks whether the specified directory object is an approver of the operation.
bool IsApproverEx(IAdmTop object,
IAdmTop requestor,
IAdmTop targetObject)
Parameters
- object – the directory object to check.
- requestor – the user who initiated the operation requiring an approval.
- targetObject – the directory object targeted by the operation that was sent for approval.
Remarks
This method substitutes the IAdmRequestApproversInfo::IsApprover method. Unlike IAdmRequestApproversInfo::IsApprover, 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