mng.CreateUser
This job creates a new user.
A new record is created in the DB table benutzer.
ID and osguid are generated by the job and returned in XML.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Currently not supported — pass |
|
BASE64 |
Yes |
Properties of the user in XML format (see below). |
|
BOOL |
Yes |
|
|
BOOL |
No |
If present and |
2. UserInfo Structure
<AdmInfo>
<Users>
<User account_type="0" benutzer="USER" flags="1" loginName="USER"
geaendert="1" langid="0" locked="0" logincount="0"
logintime="0" name="Peter Muster"
passwort="B62441422712357307" profil="-1" server_id="3"
supervisor="0"/>
</Users>
</AdmInfo>
| Attribute | Type | Description |
|---|---|---|
|
INT |
Login type: |
|
STRING |
Comment from user configuration |
|
STRING |
Username |
|
STRING |
Login name |
|
INT |
|
|
INT |
|
|
INT |
ID of the user (set by the job) |
|
INT |
ID of the used language (empty = German) |
|
INT |
|
|
INT |
Number of login attempts |
|
STRING |
Name of the last login station |
|
INT |
Login timestamp |
|
STRING |
Full name of the user |
|
STRING |
User’s email |
|
STRING |
GUID of the user (set by the job) |
|
STRING |
Encrypted password of the user |
|
INT |
|
|
INT |
ID of the server |
|
STRING |
Name of the user’s workstation |
|
INT |
|
|
INT |
User account valid from (timestamp) |
|
INT |
User account valid to (timestamp) |
3. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
BASE64 |
— |
Properties of the user in XML format — |
5. Required System Role
|
This job accesses the security system or user and group data and therefore requires the calling user to hold system role
The system roles assigned to the calling user can be determined with mng.GetUserRoles; an overview of all roles is available under System Roles. See also Error Codes. |