Update the Username/Password for a Client.
Returns a TAuthenticate object.
Proposed new Username and Password are passed as parameters. Username must be unique, otherwise the update does not occur. If a password policy has been configured in VETtrak, the new password must meet the policy rules.
A token is passed for authentication. If the authentication fails, or other errors occur, no client details are updated. The result of the authentication and update is represented by a TAuthenticate object.
This function has security level "Restricted". Users that have explicitly been granted permission to the API can use it with any parameters, otherwise, the logged-in client can only access their own data.
[WebMethod(Description = "Updates the username and password of the client with the specified code to the username and password specified")] public TAuthenticate UpdateClientUsernamePassword(string sToken, string sClie_Code, string sUsername, string sPassword);
| 
Parameters  | 
Description  | 
| 
string sToken  | 
String Token.  | 
| 
string sClie_Code  | 
String containing the Client Code of the Client. Maximum length 10 characters.  | 
| 
string sUsername  | 
String containing proposed UserName for Client. Maximum length 100 characters.  | 
| 
string sPassword  | 
String containing proposed Password for Client.  | 
TAuthenticate : an Authenticate Object containing the result of the update.
| 
Copyright (c) VETtrak 2022. All rights reserved. |