using (var svc = new AdministrationService.AdministrationClient())
{
var request = new AdministrationService.ManagementGroupRequestOfMemberSearchFilter();
request.Token = "Token";
request.ManagementGroup = "Management group";
var memberSearchFilter = new AdministrationService.MemberSearchFilter();
memberSearchFilter.ActiveMembership = true;
memberSearchFilter.CardOrVoucher = string.Empty;
memberSearchFilter.CompanyName = string.Empty;
memberSearchFilter.CustomerAccountID = string.Empty;
memberSearchFilter.EmailAddress = string.Empty;
memberSearchFilter.FamilyName = string.Empty;
memberSearchFilter.GivenName = string.Empty;
memberSearchFilter.PageNumber = 1;
memberSearchFilter.PageSize = 10;
memberSearchFilter.Partner_RSN = Guid.Empty;
memberSearchFilter.PhoneLocal = string.Empty;
memberSearchFilter.PostCode = string.Empty;
memberSearchFilter.ProgramCode = string.Empty;
request.Value = memberSearchFilter;
AdministrationService.ResultOfPagedCollectionOfMemberStub result = svc.SelectMembersWithoutSecurityAccount(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}