UserAdd

With this function, a new user can be created for a customer. The returned value is the ID of the new data record. If an identical user already exists, his ID is returned.

The user name must be unique across the system.

If the password starts with $1$, LiveConfig assumes that it is already an MD5 password hash and not a plain text password.

Request

Field

Type

RegExp

Null?

Description

auth

AuthData

no

Authentication data

customer

string

^[\w.-]{12}$

no

ID of the customer to whom the user is assigned

contact

string

^[\w.-]{12}$

no

Contact ID of the new user

login

string

^[\w.\-_]{2,50}$

no

User name

password

string

^\.{2,30}$

no

Password

Response

Field

Type

Null?

Description

id

string

no

Data record ID

The data record ID is customer-specific encrypted.


Zuletzt aktualisiert am 05.05.2021.
weiter: UserEdit
zurück: TestSayHello