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

user_id

int

The ID of Service User.

The method has the following output parameters:

Name

Type

Short Description

user_id

int

The ID of Service User.

subscription_id

int

The ID of Subscription which Service User belongs to.

login

string

Service User's login.

enabled

boolean

Whether Service User is enabled.

status

int

Service User's status. Possible values are the following:

  • 0 – Ready
  • 1 – Updating
  • 2 – Deleting

properties

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).

  • name

string

Property name.

  • value

string

Property value.

services

array of string

The list of services names which Service User belongs to. Possible values are the following:

  • AD:<Active Directory Domain name> – Active Directory
  • Exchange – MS Exchange

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.