Create user
To create a new user, use the command core/create_user:
svc=core/create_user¶ms={"name":<text>,
"password":<text>,
"creatorId":<uint>}
Parameters
Name | Description |
name | new user name (at least 4 characters) |
password | new user password |
creatorId | ID of a user who will be assigned a creator for a new user |
Response
Errors
Code | Value |
1 | invalid session |
2 | invalid service name |
3 | invalid result |
4 | invalid format or value of parameters |
6 | - creator ID doesn't exist
- error creating user (could be forbidden to create elements) |
1002 | user with such unique property already exists |