| RoleApprovalValidateApproverNotRequestor Method |
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 |
Namespace:
Omada.OE.Solution.OIM.Assembly
Assembly:
Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntaxpublic bool ValidateApproverNotRequestor(
CodeMethodInvokeContext context
)
Parameters
- context
- Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
Return Value
Type:
Boolean
See Also