This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

user.provision

Description

object user.provision(object/array users)

This method allows to provision LDAP users.

This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See User roles for more information.

Parametri

"(array)" ID degli utenti da preparare.

Restituisce valori

"(object)" Restituisce un oggetto contenente gli ID degli utenti sottoposti a provisioning nella proprietà "userids".

Esempi

Provisioning multiple users

Provision two users.

Request:

{
           "jsonrpc": "2.0",
           "method": "user.provision",
           "params": [
               "1",
               "5"
           ],
           "id": 1
       }

Response:

{
           "jsonrpc": "2.0",
           "result": {
               "userids": [
                   "1",
                   "5"
               ]
           },
           "id": 1
       }

Fonte

CUser::provision() in ui/include/classes/api/services/CUser.php.