using (var svc = new AdministrationService.AdministrationClient())
{
var request = new AdministrationService.ManagementGroupRequestOfAccessActivitySearch();
request.Token = "Token";
request.ManagementGroup = "Management group";
var accessActivitySearch = new AdministrationService.AccessActivitySearch();
accessActivitySearch.MemberRSN = new Guid("cc20b54c-3541-4e08-9722-ca34ed6ad237");;
accessActivitySearch.SecurityAccountRSN = new Guid("b63569d4-ce84-451d-9ac0-d944471ca70b");;
accessActivitySearch.ActivityType = string.Empty;
accessActivitySearch.DateFrom = null;
accessActivitySearch.DateTo = null;
accessActivitySearch.PageNumber = 1;
accessActivitySearch.PageSize = 10;
request.Value = accessActivitySearch;
AdministrationService.ResultOfPagedCollectionOfAccessActivity result = svc.SelectPagedAccessActivityList(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}