| IdentityUpdateIdentityUser Method |
Note: This API is now obsolete.
This method updates a User object based on an updated Identity data object
Code method is intended to be used in an event definition triggered when an Identity is updated.
By default, it copies:
- Identity.IdentityId TO user.UserName
- Identity.FirstName TO User.FirstName
- Identity.LastName TO User.LastName
- Identity.JobTitle TO User.JobTitle
- Identity.Email TO User.Email
The "CopyRuleUId" parameter can be used to override this behavior, but the IdentityId will still be copied to the UserName property of the User object
The "UserNamePropertySysName" parameter can be used to specify a different property on the Identity object to copy to the UserName property of the User object.
Codemethod usage | Description |
---|
Designed to be used in a process only (Yes/No) | No |
Action Object (data object type) | Identity |
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[ObsoleteAttribute("Users should be provisioned using Governance for Omada Identity.")]
public void UpdateIdentityUser(
CodeMethodInvokeContext context,
string configuration
)
Parameters
- context
- Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
- configuration
- Type: SystemString
ParameterDescriptionUserNamePropertySysNameThe username for the user will be set from the property defined by the system name, unless it is not specified, in which case the default value 'IdentityId' will be used.CopyRuleUIdIf set the user will be populated using the specified copyrule. Copy rule UId to use when copying data from the Identity to User.IgnoreUserNotFoundIf set to TRUE the CodeMethod will return true, even if the Identity does not have a related OIM User.
Examples
UserNamePropertySysName=FIRSTNAME;CopyRuleUId=fc67d0d4-c4b3-46b9-b1d9-a938f1d580e4
See Also