Click or drag to resize

AdministrationClientSelectPagedAccessActivityList Method

Syntax
C#
public ResultOfPagedCollectionOfAccessActivity SelectPagedAccessActivityList(
	ManagementGroupRequestOfAccessActivitySearch request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfAccessActivitySearch

Return Value

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

  var accessActivitySearch = new AdministrationService.AccessActivitySearch();
  accessActivitySearch.MemberRSN = new Guid("cc20b54c-3541-4e08-9722-ca34ed6ad237");; //Optional {Member.RSN}
  accessActivitySearch.SecurityAccountRSN = new Guid("b63569d4-ce84-451d-9ac0-d944471ca70b");; // Optional {AccountOwnerRSN}

  accessActivitySearch.ActivityType = string.Empty; //Optional
  accessActivitySearch.DateFrom = null;  //Optional
  accessActivitySearch.DateTo = null; //Optional
  accessActivitySearch.PageNumber = 1; //Optional
  accessActivitySearch.PageSize = 10; //Optional 

  request.Value = accessActivitySearch;

  AdministrationService.ResultOfPagedCollectionOfAccessActivity result = svc.SelectPagedAccessActivityList(request);

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