pem.getUserInfo
This method is supported by Operations starting from version 2.6.5
This method allows to obtain the Service User's properties.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
The ID of Service User. |
The method has the following output parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
The ID of Service User. |
|
int |
The ID of Subscription which Service User belongs to. |
|
string |
Service User's login. |
|
boolean |
Whether Service User is enabled. |
|
int |
Service User's status. Possible values are the following:
|
|
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). |
|
string |
Property name. |
|
string |
Property value. |
|
array of string |
The list of services names which Service User belongs to. Possible values are the following:
|
Notes:
1. Service User ID is not displayed in Operations control panel. You may use the pem.getUserByLogin or pem.getUsers methods to obtain the ID of the required Service User. Also, you may use the Operations Public API methods, which contain Service User ID(s) in the list of the output parameters.
2. This method can also be called under Reseller permissions.