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 usage | Description |
---|---|
Designed to be used in a process only | Yes |
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
public void CreateEmployeeUser2( CodeMethodInvokeContext context, string configuration )