Check if a UserName, Password combination exists in Client Table. Username and Password are passed as parameters.
A token is passed for authentication. If the authentication fails, or other errors occur, no details which relate to the username/password are returned. The result of the authentication and checking is represented by a TAuthenticate object.
If the UserName, Password combination exists in a unique record, some details of this record are returned as properties of the returned TAuthenticate object. The TAuthenticate object returned has properties:
If there are no matching records, a 'Bad Authenticate' is returned, with:
If there are multiple matching records, a 'Bad Authenticate' is returned, with:
[WebMethod(Description = "Checks whether the specified username and password is valid")] public TAuthenticate DoesUsernamePasswordExist(string sToken, string sUsername, string sPassword);
Parameters |
Description |
string sToken |
String Token. |
string sUsername |
String containing UserName. |
string sPassword |
String containing Password. |
TAuthenticate : an Authenticate Object containing the result of the check.
Be aware that the input Token (sToken) is NOT returned in the Token property of the result.
This function has security level "Protected", and can only be accessed by users that have explicitly been granted permission to the API.
Copyright (c) VETtrak 2022. All rights reserved.
|