This method allows to create new users.
Parameters
Users to create.
Returns an object containing the IDs of the created users under the property. The order of the returned IDs matches the order of the passed users.
Examples
Creating a user
Create a new user, add him to a user group and create a new media for him.
Response:
- {
- "jsonrpc": "2.0",
- "result": {
- "userids": [
- ]
- },
- "id": 1
- }
Source
CUser::create() in frontends/php/include/classes/api/services/CUser.php.