This is a translation of the original English documentation page. Help us make it better.

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.

パラメータ

(array) プロビジョニングするユーザーのID

戻り値

(object) useridsプロパティの下でプロビジョニングされたユーザーのIDを含むオブジェクトを返します。

複数ユーザーのプロビジョニング

2つのユーザーをプロビジョニングします。

リクエスト :

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

レスポンス :

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

ソース

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