using (var svc = new AdministrationService.AdministrationClient())
{
var request = new AdministrationService.ManagementGroupRequestOfOrganisationSearchFilter();
request.Token = "Token";
request.ManagementGroup = "Management group";
var organisationSearchFilter = new AdministrationService.OrganisationSearchFilter();
organisationSearchFilter.Active = null;
organisationSearchFilter.Filter = string.Empty;
organisationSearchFilter.Visible = null;
organisationSearchFilter.PageNumber = 1;
organisationSearchFilter.PageSize = 10;
organisationSearchFilter.Partner_RSN = Guid.Empty;
organisationSearchFilter.OrganisationType = string.Empty;
request.Value = organisationSearchFilter;
AdministrationService.ResultOfPagedCollectionOfOrganisationStub result = svc.SelectPartnersAndPartnerOutletsWithoutSecurityAccounts(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}