AuthenticateUser
Used to retrieve a User Object using an encryptedToken, username, encrypted password, and a salt.
Returns – A UserResponse containing a User Object in the User Array property. (See UserResponse in Appendix B)
Parameters
Name | Type | Description |
---|---|---|
encryptedToken | string | Required. EncryptedToken retrieved through previous calls. |
username | string | Required. User’s email address. |
encryptedPassword | string | Required. The encrypted password for the user. |
salt | string | Required. Any combination of text and numbers that was used to encrypt the plain text password into encryptedPassword. |
Example – C#
[gdlr_notification icon=”none” type=”color-border” border=”#31BEF9″ color=”#000000″]ServiceAPIClient ws = new ServiceAPIClient();
string salt = “Z1s6aXNQpjQ75wRX1ulI551sR1uHyg3YsOcPLeL9TaM”;
string encryptPassword = string.Empty;
RequestResponse requestResponse;
UserResponse userResponse;
requestResponse = ws.EncryptString(“password”, salt);
encryptPassword = requestResponse.ReturnValue;
userResponse = ws.AuthenticateUser(encryptedToken, “username”, encryptPassword, salt);
[/gdlr_notification]