Click or drag to resize

AccountClientRequestManagementGroupAccountPasswordReset Method

Generates a Reset Password Request RSN, facilitating Reset Forgotten Password function for an Account.

The Reset Password Request RSN value can be passed to the Web Service Method: Account Password Reset to enable the Account holder to change their Password.

Remarks
  • Current Account Status must be Active
  • Email will be sent to the Account Email Address. The Email has a link that to a Reset Password Web Page that includes the Reset Password Request RSN value
  • Reset Password Request RSN has an expiry of a configurable value, and must be used within this timeframe to be valid
Syntax
C#
public Result RequestManagementGroupAccountPasswordReset(
	ManagementGroupAccountRequest requestAccountPasswordReset
)

Parameters

requestAccountPasswordReset
Type: AccountServiceManagementGroupAccountRequest

Return Value

Type: Result
Examples
C#
using (var svc = new AccountService.AccountClient())
{
  //This method does not require a Token
  var request = new AccountService.ManagementGroupAccountRequest();
  request.AccountName = "Account Name"; //Required - Could be card number/partner name/email address
  request.EmailTemplate = "Email template ID"; //Required
  request.ManagementGroup = "Management group"; //Required

  AccountService.Result result = svc.RequestManagementGroupAccountPasswordReset(request);

  if (result.FaultCode == 0)
  {
    //Request succeeded
  }
  else
  {
    //Request failed
    throw new Exception(result.FaultDescription);
  }
}
See Also