UserChangePassword Method
Change the password for this user
Namespace: T4.APIAssembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
public void ChangePassword(
string psOldPassword,
string psNewPassword,
OnLoginResponse poCallback
)
Public Sub ChangePassword (
psOldPassword As String,
psNewPassword As String,
poCallback As OnLoginResponse
)
Parameters
- psOldPassword String
- The current paswword
- psNewPassword String
- The new password
- poCallback OnLoginResponse
- The method to call with the result of this change
This method will return a reason if the new password does not meet the complexity requirements. Even
if it returns "" and sends the request then you should check the result parameter of the
PasswordChangeResponse event for PasswordChangeSuccess or PasswordChangeFailed as some checks, such
as for password history are only done server side. The user must already be successfully logged in
as well.