Click or drag to resize

RoleAssignmentExpireRoleAssignments3 Method

Method sets the Valid To of a number of referred role assignments. The Role Assignment Status will be set to Obsolete. The Valid To will be set to the day before yesterday.
Codemethod usage
Designed to be used in a process only (Yes/No)No
Action Object (data object type)Any

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 void ExpireRoleAssignments3(
	CodeMethodInvokeContext context,
	string referencePath,
	DateTime validTo,
	bool skipEvents
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
referencePath
Type: SystemString
A reference path consists of system names of reference properties seperated by slash or backslash. The fixed field TARGET is also supported. Slash (/) indicates a forward reference. Backslash (\) indicates a backwards reference. The first reference property system name can also be postfixed with a slash or backslash. If omitted it is interpreted as a forward reference.

Example 1 (Roleassignments for Identity.): \IDENTITYREF{TYPE=7900b7cf-ec0c-4777-90e8-0d5bbcc1917b}

Example 2 (Roleassignments in the property ROLEASSIGNMENTS on the action object): ROLEASSIGNMENTS{TYPE=7900b7cf-ec0c-4777-90e8-0d5bbcc1917b}

validTo
Type: SystemDateTime
The new value of valid to
skipEvents
Type: SystemBoolean
Skips the execution of events on the DataObject update.

Return Value

Type: 
See Also