Click or drag to resize

IdentityCreateIdentityUser Method

Note: This API is now obsolete.

The method creates a new OIS user based on the action object which should be either an Identity or an object referring an Identity. The CodeMethod is typically used in a Create Event on an Identity object. 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 - Identity.Id TO User.Identity Using the parameters CopyRuleUId AND/OR UserNamePropertySysName will change this behaviour.
Codemethod usageDescription
Designed to be used in a process only (Yes/No)No
Action Object (data object type)Identity or Action Object reffering 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
C#
[ObsoleteAttribute("Users should be provisioned using Governance for Omada Identity.")]
public void CreateIdentityUser(
	CodeMethodInvokeContext context,
	string configuration
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
configuration
Type: SystemString
ParameterDescriptionIdentityPropertySysNameIf defined Identity will be taken from the property defined. The System Name of a single-value reference property for an identity located on the action object. Default is IdentityID.UserNamePropertySysNameIf defined username on the user will be set from the property defined. Default is IdentityId.CopyRuleUIdIf set the user will be populated using the specified copyrule. Copy rule UId to use when copying data from the Identity to User.CheckIfAlreadyHasUserCheck whether there is already a User connected to the Identity. If there is it returns without doing anything. Default is false.ConnectToExistingUserCheck if there is an existing User with the same UserName and without a reference to an Identity. If there is it connects to that User instead of creating one. Default is true.
Examples
IdentityPropertySysName=IDENTITYREF;UserNamePropertySysName=FIRSTNAME;CopyRuleUId=fc67d0d4-c4b3-46b9-b1d9-a938f1d580e4;CheckIfAlreadyHasUser=TRUE;ConnectToExistingUser=FALSE
See Also