Create user

To create a new user, use the command core/create_user:

svc=core/create_user&params={"creatorId":<long>,
			     "name":<text>,
			     "password":<text>,
			     "dataFlags":<uint>}

Parameters

Name Description
creatorId ID of a user who will be assigned a creator for a new user
name new user name (at least 4 characters)
password new user password
dataFlags data flags for the response (see Data format: Users)

Response

{
	"item":{	/* user created */
		...	
	},
	"flags":<uint>	/* applied data flags */
}

You can find the format of “item” in the chapter Data format: Users.