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:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": {
    4. "userids": [
    5. ]
    6. },
    7. "id": 1
    8. }

    Source

    CUser::create() in frontends/php/include/classes/api/services/CUser.php.