AccountClientAccountActivation Method |
Activates a specified Account using a valid Account Activation Request RSN.
Remarks
- Current Account Status must be Activation Pending
- Account Activation Request RSN has an expiry of a configurable value, and must be used within this timeframe to be valid
- Account Activation Request RSN is generated by the Web Service Method: Request Management Group Account Activation
Syntax
Examples
using (var svc = new AccountService.AccountClient())
{
var request = new AccountService.AccountActivation();
request.RequestRSN = new Guid("c6d880e3-978b-4b82-b29e-4462acbb0aa9");;
request.EmailTemplate = "Email template ID";
AccountService.ResultOfboolean result = svc.AccountActivation(request);
if (result.Value)
{
}
else
{
}
}
See Also