The RoleApproval type exposes the following members.
Methods
| Name | Description |
---|
 | LogResourceApprovalDecision |
Creates audit trail decision entries for explicitly approved roles (Role Assignment objects)
Codemethod usage |
The code method is intended to be used in the resource approval processes.
It should be executed both on the "Approve" and "Reject" transition with the "halt on error" flag set to true.
It assumes that the active user is the approver.
It assumes that the RoleApproval references the approved Resource Assignments
and the the requestor field is populated with the user who created the request.
|
---|
Designed to be used in a process only (Yes/No) | Yes | Action Object (data object type) | Activity |
|
 | LogRoleApproval | Obsolete.
Creates audit log entries for explicitly approved roles (Role Assignment objects)
Codemethod usage |
The code method is intended to be used in the role approval processes.
It should be executed on the "Approve" transition with the "halt on error" flag set to true.
It assumes that the active user is the approver.
It assumes that the RoleApproval references the approved Role Assignments
and the the requestor field is populated with the user who created the request.
|
---|
Designed to be used in a process only (Yes/No) | Yes | Action Object (data object type) | RoleApproval |
|
 | ValidateApproverNotBeneficiary | Obsolete.
Validates that the role approver is not a beneficiary, meaning that none of the role assignments to be approved must be assigned to the approver.
Codemethod usage |
The code method is intended to be used in the role approval processes.
It should be executed on the "Approve" transition with the "halt on error" flag set to true.
It assumes that the active user is the approver.
The method retrieves the identities assigned to the referred role assignment data objects.
It then validates that the active user's identity is not one of those.
|
---|
Designed to be used in a process only (Yes/No) | Yes | Action Object (data object type) | RoleApproval |
|
 | ValidateApproverNotRequestor |
Validates that the role approver is not the one who made the role request.
Codemethod usage |
The code method is intended to be used in the role approval processes.
It should be executed on the "Approve" transition with the "halt on error" flag set to true.
It assumes that the active user is the approver.
The method compares the active user with the user stated in the "Requestor" property of the role approval data object.
|
---|
Designed to be used in a process only (Yes/No) | Yes | Action Object (data object type) | RoleApproval |
|
Top
Extension Methods
See Also