Main Methods |
The Main type exposes the following members.
Name | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | CheckIfSetPropertyHasValue |
This CM checks if the set property has value provided in the parameters.
CM returns boolean value and can be used in the decision block in the process workflow - error is not thrown in any case.
| ||||||||||
![]() | CopyValuesFromContextObjectToReferringObjectsMatchingView |
Copies values from the action object to the referring objects matching view, using specified copy rule.
CM updates below objects:
- must be member of the specified view
- must have reference to the action object in the referring property
| ||||||||||
![]() | CreateIdentity |
Creates a new identity data object.
Code method is intended to be used in a "joiner" process.
The action object is used as a template.
| ||||||||||
![]() | CreateIdentityUser | Obsolete.
The method creates a new OIM user based on an identity selected in a reference property on the action object.
| ||||||||||
![]() | CreateIdentityUserEx | Obsolete.
Creates a user for the action object which should be an Identity.
| ||||||||||
![]() | CreateInitialIdentityUser | Obsolete.
Creates a user for the action object which should be an Identity.
| ||||||||||
![]() | CreateInitialIdentityUsers | Obsolete.
Creates user for all identities, who are not yet OIM users.
| ||||||||||
![]() | MergeReferencePropertyValues |
CM merges reference property values.
TargetObjectPropertySystemName - optional - target if empty
SourceObjectPropertySystemName - optional - target if empty
AddValuesPropertySystemName - optional*
RemoveValuesPropertySystemName - optional*
* at least one must be specified
| ||||||||||
![]() | MoveActionObjectToFolder |
Moves the action object to a specified folder in the data object tree structure.
Throws an exception if the active user doesn't have access to move the action object.
| ||||||||||
![]() ![]() | SampleCodeMethod | This is a sample code method. A code method is a .Net method that can be executed by Omada Identity Manager when an event occurs. In order for a .Net method be be a valid code method it must conform to a set of requirements:
![]()
The following example shows the implementation of a sample code method.
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Text; namespace Namespace1 { public class MyCodeMethodClass { public bool AppendText(CodeMethodInvokeContext context, string input, string append, out string result) { result = input + append; return true; } } } ![]()
Remember that Omada Identity can also be extended programatically using Browser Event Handlers and Form Parts.
| ||||||||||
![]() | SendMailToReferencePath | This code method allows to send emails to a referred object (User / User Group / Identity) via a ReferencePath expression. Example: Email notification to the department manager of an identity. The string will be /OUREF/MANAGER.
| ||||||||||
![]() | UpdateIdentityUser | Obsolete. Updates the User object related to an updated Identity data 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.) |
Name | Description | |
---|---|---|
![]() ![]() | IAppStartInitializedClassInitialize |