krn.SessionLogin
This job logs a user into the active session. The user is identified by name and encrypted password.
| For password encryption, please contact Optimal Systems GmbH. |
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Currently not supported — pass |
|
STRING |
Yes |
Login name of the user |
|
STRING |
Yes |
Encrypted password |
|
LONG |
No |
Only to be set at Enterprise Manager start. |
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
STRING |
Optional |
Description if an error occurs |
|
STRING |
— |
Action that was executed |
|
STRING |
Optional |
GUID of the logged-in user (only for Enterprise Manager) |
|
INT |
Optional |
ID of the logged-in user (only for Enterprise Manager) |
3. Return Value
(INT): 0 = Job successful, otherwise error code.
The server reports a refused login as the collective code 1105265282 — identical for a wrong password, a manually locked account and one locked by failed logins. The cause is available in the error stack only (see Cause Codes in the Error Stack).
A wrong password counts towards the account’s lockout counter exactly as it does with krn.CheckUserAccount; for the sequence and for releasing a lock see Lockout Behaviour.