| RoleAssignmentExpireRoleAssignments2 Method |
Method sets the Status and Valid To of a number of referred resource assignments.
The Status will be set to Obsolete.
The Valid To will be set to "now".
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
Syntaxpublic void ExpireRoleAssignments2(
CodeMethodInvokeContext context,
string referencePath,
string configuration
)
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}
- configuration
- Type: SystemString
ParameterDescriptionSKIPEVENTS[TRUE/FALSE] Skip firing save events on the expired role assignments. Default: TRUE.
Examples
SKIPEVENTS=FALSE
See Also