Click or drag to resize

Identity Class

Contains various code methods concerning identities.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelCodeAssemblyClassBase
    Omada.OE.Solution.OIM.AssemblyIdentity

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 class Identity : CodeAssemblyClassBase

The Identity type exposes the following members.

Constructors
  NameDescription
Public methodIdentity
Top
Methods
  NameDescription
Public methodActivateIdentityUser Obsolete.
Activates the user that an identity belongs to. If the identity doesn't belong to a user, nothing happens.
Codemethod usage-
Designed to be used in a process only (Yes/No) No
Action Object (data object type) Identity
Public methodActivateRefIdentityUser Obsolete.
Activates the user that an identity belongs to. If the identity doesn't belong to a user, nothing happens.
Codemethod usage-
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Process target object
Public methodCreateIdentityUser 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
Public methodGenerateIdentityId
Build an identity Id using values from up to three different string values. The method generates a unique identity id. The identity id is generated by combining a fixed number of letters of the person's names - which are provided in strProperty1, strProperty2, and strProperty3. The generated id is always in uppercase unless ToLowerCase is set to true. The method excepts the action object to be an Identity data object. The method updates the IDENTITYID property on the action object with the generated identity id. No output is returned from the method. The uniqueness is ensured by comparing the generated identity id with the existing identities in the system. In addition the dataSourceForDuplicateCheck parameter can be used for additional uniqueness check in an external system.
Public methodGetConfigurationParameter(IDictionaryString, String, String, Boolean)
Returns the value of a boolean configuration parameter. Method is intended to be used as utility in implementations of code methods that receive a configuration string with parameters and values. Such a configuration string can be parsed with ParseConfiguration().
(Inherited from CodeAssemblyClassBase.)
Public methodGetConfigurationParameter(IDictionaryString, String, String, Guid)
Returns the value of a Guid configuration parameter. Method is intended to be used as utility in implementations of code methods that receive a configuration string with parameters and values. Such a configuration string can be parsed with ParseConfiguration().
(Inherited from CodeAssemblyClassBase.)
Public methodGetConfigurationParameter(IDictionaryString, String, String, Int32)
Returns the value of a int configuration parameter. Method is intended to be used as utility in implementations of code methods that receive a configuration string with parameters and values. Such a configuration string can be parsed with ParseConfiguration().
(Inherited from CodeAssemblyClassBase.)
Public methodGetConfigurationParameter(IDictionaryString, String, String, String)
Returns the value of a string configuration parameter. Method is intended to be used as utility in implementations of code methods that receive a configuration string with parameters and values. Such a configuration string can be parsed with ParseConfiguration().
(Inherited from CodeAssemblyClassBase.)
Public methodGetIdentityUser
Returns the user related to the Identity selected in a reference property. The user id can be stored in a reference property (user) and used for sending mails.
Codemethod usage-
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Process target object
Public methodInactivateIdentityUser Obsolete.
Inactivates the user that an identity belongs to. If the identity doesn't belong to a user, nothing happens.
Codemethod usage-
Designed to be used in a process only (Yes/No) No
Action Object (data object type) Identity
Public methodInactivateRefIdentityUser Obsolete.
Inactivates the user that an identity belongs to. If the identity doesn't belong to a user, nothing happens.
Codemethod usage-
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Process target object
Public methodIsIdentityProvisioned
Checks that the identity has been created in the target system based on status returned to the Identity object from MIM Sync. To be used in a condition for checking that the Identity is created in the target system. Allowing the process to continue when the identity is available.
Codemethod usageThe CodeMethod is typically used in a Condition for a process to wait for the provisioning of an account.
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type)Object type with reference to an Identity.
Public methodParseConfiguration
Returns a configuration dictionary by parsing a string with key/value pairs.
(Inherited from CodeAssemblyClassBase.)
Public methodSetIdentityOwner
Sets the Identity Owner on the identities reffered in identityMVPropSysName to the identity reffered in newOwnerPropSysName.
Codemethod usage
Designed to be used in a process only (Yes/No)No
Action Object (data object type)Any
Public methodSetOwnedIdentitiesOnProperty
Populates all identities owned by the specified identity and with one of the specified identity categories, into a reference property on the target,
Codemethod usage
Designed to be used in a process only (Yes/No)No
Action Object (data object type)Any
Public methodUpdateIdentityUser 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 usageDescription
Designed to be used in a process only (Yes/No)No
Action Object (data object type)Identity
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also