Click or drag to resize

RoleVerificationLaunchVerifyRolesProcesses Method

The method launches zero, one or more 'verify roles' processes. It is intended to be used in an 'onupdate' event for identities. The event would normally filter on that the org. unit of the identity is changed. The action object must be an Identity data object. The method finds all role assignments, belonging to the identity, that originates from data objects of a specified set of data object types. The data object types could, for example, be 'role requests' and 'role delegations'. The general idea is, for a mover, that the old manager specifies a grace period for the identities old department roles. In addition, however, system owners should be presented to the adhoc roles that the identity posesses.

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#
public bool LaunchVerifyRolesProcesses(
	CodeMethodInvokeContext context,
	string verifyProcessTemplateGuidStr,
	string roleAssignmentsPropertySysName,
	string originTypeGuids
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
verifyProcessTemplateGuidStr
Type: SystemString
Guid of the 'verify roles' process template from which process instances should be launched. The target data object type of the process should have (at least) the following properties: - one that refers an identity (this must be property no. 50) (the method populates the value of this property) - one that refers role assignments for the identity (the method populates the value of this property) The process must have at least one activity which will be assigned to the system owner.
roleAssignmentsPropertySysName
Type: SystemString
System name of the MV reference property, present on the action data object type, that refers (some of) the role assignments of the identity. The property is populated by the method.
originTypeGuids
Type: SystemString
Comma-delimited list of data object type guids. Only assignments referring an origin data object of one of these types are treated.

Return Value

Type: Boolean
See Also