Click or drag to resize

AdministrationClientSelectSecurityAccount Method

Syntax
C#
public ResultOfSecurityAccount SelectSecurityAccount(
	ManagementGroupRequestOfguid request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfguid

Return Value

Type: ResultOfSecurityAccount
Examples
C#
using (var svc = new AdministrationService.AdministrationClient())
{
  var request = new AdministrationService.ManagementGroupRequestOfguid();
  request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin
  request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin
  request.Value = new Guid("0750bee0-cac8-4787-9e0d-a439d85a9f9d");; //Required - RSN of security account

  AdministrationService.ResultOfSecurityAccount result = svc.SelectSecurityAccount(request);

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