pem.modifyUser

This method is supported by Operations starting from version 2.6.5

This method allows to modify the Service User's properties.

The method has the following input parameters:

Name

Type

Short Description

user_id

int

The ID of Service User.

[login]

string

Service User's login.

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

The method has no output parameters.

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.