Adds a new user.
C#: bool AddUserEx2(string webServiceUrl, IQlmCustomerInfo customerInfo, bool updateIfExists, out
string response);
Return: Returns true if the user was added. If the user was not added because of an error or because the user already exists and updateIfExists is false, the response contains details about the error. You can use QlmLicense.ParseResults to get details about the error.
Parameters
webServiceUrl - URL to the QLM License Server
customerInfo - customer to add
updateIfExists - update the customer information if the customer already exists in the database
response - XML fragment containing the result of the call. The Xml fragment schema is as follows:
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<result>Customer ABC was added successfully.".</result>
<userID>99</userID>
</QuickLicenseManager>
In the event of an error, the XML fragments returns:
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<error>Details about the error</error>
</QuickLicenseManager>
Comments
0 comments
Article is closed for comments.