checkPassword
Some tooltip text!
• Less than 1 minute to read
• Less than 1 minute to read
Description
Checks if this user name and password are valid login credentials. Will return SoapErrorIncorrectLoginCustomer error code if not correct.
In parameters
| Parameter | Description |
|---|---|
| username | The user name |
| password | The password |
Out parameters
| Parameter | Description |
|---|---|
| errorCode | See list of codes |
Example
customer.customerService custService = new customer.customerService();
string ret = custService.checkPassword("username","password");
if(ret == "0")
cout << "Hip hurray";
else
cout << "Oh no";