AccountClientManagementGroupAuthenticate Method |
Validates the Token submitted, and returns a small set of Account Details.
A new Token is issued, which is to be used for calling Web Service Methods that require Token Authentication.
public ResultOfAuthenticate ManagementGroupAuthenticate( ManagementGroupToken token )
using (var svc = new AccountService.AccountClient()) { var request = new AccountService.ManagementGroupToken(); request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin AccountService.ResultOfAuthenticate result = svc.ManagementGroupAuthenticate(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }