Click or drag to resize

AdministrationClientSelectStagingMemberList Method

Syntax
C#
public ResultOfPagedCollectionOfStagingMemberData SelectStagingMemberList(
	ManagementGroupRequestOfStagingMemberSearch request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfStagingMemberSearch

Return Value

Type: ResultOfPagedCollectionOfStagingMemberData
Examples
C#
using (var svc = new AdministrationService.AdministrationClient())
{
  var request = new AdministrationService.ManagementGroupRequestOfStagingMemberSearch();
  request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin
  request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin

  var stagingMemberSearch = new AdministrationService.StagingMemberSearch(); //Required
  stagingMemberSearch.BatchRSN = new Guid("92bdac69-1998-42ce-9c0a-3cf0d6758642");; //Required
  stagingMemberSearch.Status = string.Empty; //Optional
  stagingMemberSearch.PageNumber = 1; //Optional - Defaults to 1
  stagingMemberSearch.PageSize = 100; //Optional - Defaults to 100

  request.Value = stagingMemberSearch;

  AdministrationService.ResultOfPagedCollectionOfStagingMemberData result = svc.SelectStagingMemberList(request);

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