Click or drag to resize

RoleApprovalValidateApproverNotBeneficiary Method

Note: This API is now 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

Namespace:  Omada.OE.Solution.OIM.Assembly
Assembly:  Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntax
C#
[ObsoleteAttribute]
public bool ValidateApproverNotBeneficiary(
	CodeMethodInvokeContext context
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.

Return Value

Type: Boolean
See Also