promoteCustomer
Promotes a local customer to a global customer (identified as a global user on the Helix ALM License Server). A local customer only exists in the project. A global customer exists on the license server and may be shared with other Helix ALM products. A SOAP error envelope is returned if the operation fails.
Parameters
Parameter | Type | Description |
---|---|---|
cookie | long | Session cookie returned by projectLogon. |
localCustomer | string | Name of the local customer. See Formatting name fields for formatting information. |
globalUser | string | Name of the global user that the local customer inherits user record information from. See Formatting name fields for formatting information. |
loginname | string | Username used to log in. Required if globalUser is not specified. Must be unique. |
password | string | Password used to log in. |
Return value
Value | Type | Notes |
---|---|---|
result | int | 0 indicates success. Check the return value in case of an error. |
Example
// This example promotes the localuser user as a new global user, so loginname must be specified
ttsdk.promoteCustomer(cookie, "Lastname, Firstname", "", "username", "password");