Click or drag to resize

OnboardingEmployeeCreateEmployeeUser2 Method

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.

Namespace:  Omada.OE.Solution.OIM.Assembly.PackagedSolution
Assembly:  Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntax
C#
public void CreateEmployeeUser2(
	CodeMethodInvokeContext context,
	string configuration
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
configuration
Type: SystemString
Currently no parameters are supported.
See Also