Identity Methods |
The Identity type exposes the following members.
Name | Description | |||||||
---|---|---|---|---|---|---|---|---|
![]() | ActivateIdentityUser | Obsolete.
Activates the user that an identity belongs to.
If the identity doesn't belong to a user, nothing happens.
| ||||||
![]() | ActivateRefIdentityUser | Obsolete.
Activates the user that an identity belongs to.
If the identity doesn't belong to a user, nothing happens.
| ||||||
![]() | CreateIdentityUser | 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.
| ||||||
![]() | GenerateIdentityId |
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.
| ||||||
![]() | GetConfigurationParameter(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.) | ||||||
![]() | GetConfigurationParameter(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.) | ||||||
![]() | GetConfigurationParameter(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.) | ||||||
![]() | GetConfigurationParameter(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.) | ||||||
![]() | GetIdentityUser |
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.
| ||||||
![]() | InactivateIdentityUser | Obsolete.
Inactivates the user that an identity belongs to.
If the identity doesn't belong to a user, nothing happens.
| ||||||
![]() | InactivateRefIdentityUser | Obsolete.
Inactivates the user that an identity belongs to.
If the identity doesn't belong to a user, nothing happens.
| ||||||
![]() | IsIdentityProvisioned |
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.
| ||||||
![]() | ParseConfiguration |
Returns a configuration dictionary by parsing a string with key/value pairs.
(Inherited from CodeAssemblyClassBase.) | ||||||
![]() | SetIdentityOwner |
Sets the Identity Owner on the identities reffered in identityMVPropSysName to the identity reffered in newOwnerPropSysName.
| ||||||
![]() | SetOwnedIdentitiesOnProperty |
Populates all identities owned by the specified identity and with one of the specified identity categories,
into a reference property on the target,
| ||||||
![]() | UpdateIdentityUser | 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.
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |