AccountClientManagementGroupValidate Method |
Validates the Token submitted, and returns the Account RSN linked to the Token.
public ResultOfAuthenticate ManagementGroupValidate( ManagementGroupToken token )
using (var svc = new AccountService.AccountClient()) { var request = new AccountService.ManagementGroupToken(); request.Token = "Token"; // Token request.ManagementGroup = "Management group"; // ManagementGroup; AccountService.ResultOfAuthenticate result = svc.ManagementGroupValidate(request); if (result.FaultCode == 0) { //Validate succeeded string token = result.Value.Token; //Use token in service calls. } else { //Validate failed throw new Exception(result.FaultDescription); } }