AccountClientAccountPasswordReset Method |
Enables an Account holder to set the Account Password using a valid Reset Password Request RSN.
Remarks
- Current Account Status must be Active
- Reset Password Request RSN has an expiry of a configurable value, and must be used within this timeframe to be valid
- New Password must adhere to the Password Rules
- Reset Password Request RSN is generated by the Web Service Method: Request Management Group Account Password Request
Syntax
Examples
using (var svc = new AccountService.AccountClient())
{
var request = new AccountService.AccountPasswordReset();
request.RequestRSN = new Guid("eb263bb9-d357-4cbe-bda0-c7ed5672465e");;
request.NewPassword = "New password";
request.EmailTemplate = "PASSWORD_RESET_TEMPLATE_ID";
AccountService.ResultOfboolean result = svc.AccountPasswordReset(request);
if (result.Value)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}
See Also