Click or drag to resize

OnboardingEmployee Methods

The OnboardingEmployee type exposes the following members.

Methods
  NameDescription
Public methodCreateEmployeeUser

This code method is intended specifically for the OIM Packaged Solution.

The code method is almost identical to"CreateEmployeeUser2" except it doesn't accept a configuration parameter. Please refer to "CreateEmployeeUser2" for details.

Public methodCreateEmployeeUser2

This code method is intended specifically for the OIM Packaged Solution.

The code method is used in the "On-board employee" process template. It modifies the identity referred by the action object (an "On-boarding employee")

The identity is always classified as an employee in the IDENTITYCATEGORY property. The identity is always classified as primary in the IDENTITYTYPE property.

An IdentityID is generated and assigned to the identity. The identityID is however only generated if the current value is empty or AUTO Afterwards a user is created for the identity. The user is then added to the "Employees" user group.

The identity is set to status "Inactive", "Active" or "Terminated" depending on the stated validity period.

Codemethod usageDescription
Designed to be used in a process onlyYes
Action Object (data object type) On-boarding employee
Security The method overrides all security. It therefore doesn't have to be executed by the SYSTEM user.
Public methodLaunchOnBoardingProcess

This code method is intended specifically for the OIM Packaged Solution.

The code method is almost identical to "LaunchOnBoardingProcess2" except it doesn't accept a configuration parameter. Please refer to "LaunchOnBoardingProcess2" for details.

Public methodLaunchOnBoardingProcess2

This code method is intended specifically for the OIM Packaged Solution.

The code method is used for launching an "On-board employee" process for a newly created (imported) identity data object. The first activity is assigned to the manager(s) of the new employee. The manager(s) are notified of this by email.

Codemethod usageDescription
Designed to be used in a process onlyNo
Action Object (data object type) Identity
Security The method overrides all security. It therefore doesn't have to be executed by the SYSTEM user.
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