pem.addUser
This method is supported by Operations starting from version 2.6.5
This method creates a Service User.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
The ID of Subscription. Only subscriptions in local mode may be specified. If specified, Service User will be created under the Account owning this subscription. Moreover, the Service User will be bound to this subscription. Note: The parameter is optional since Operations 6.0. |
|
int |
The ID of Account to which the created Service User will belong. |
|
string |
Service User's login. |
|
string |
Service User's password. |
|
boolean |
Optional parameter. It defines whether to check the quality of password according to the password quality level defined in Operations. |
|
array of struct |
Array of Service User's properties. Property is a pair of "name" and "value" parameters (see the Service User's Properties section). If the |
|
string |
Property name. |
|
string |
Property value. |
Note: Despite both subscription_id
and owner_account_id
parameters are optional, it is necessary to specify one of them. It is not allowed to specify both parameters simultaneously.
The method has the following output parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
The ID of Service User created. |
Note: This method can also be called under Reseller permissions.