pem.ad.binding.addUserBinding
This method is supported by Operations starting from version 5.0.1_KB9347.
This method provides a service for an existing Service User by an Active Directory (AD) entry.
The optional parameters user_id
and login
are mutually exclusive. Exactly one of them should be passed.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
The identifier (ID) of the Service User. |
|
string |
The Service User's login. |
|
string |
The target AD domain, where the AD entry is needed. |
|
string |
An arbitrary name that uniquely identifies the service to be attached to the Service User. In case multiple packages are present in the same subscription, they must use different |
|
int |
The identifier (ID) of a subscription containing the target service. The following use-cases are available:
|
The method has the following output parameters:
The LDAP path (string) to the AD entry for which the binding has been registered.
Note: 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.