Click or drag to resize

AdministrationClientSelectPartnersAndPartnerOutletsWithoutSecurityAccounts Method

Syntax
C#
public ResultOfPagedCollectionOfOrganisationStub SelectPartnersAndPartnerOutletsWithoutSecurityAccounts(
	ManagementGroupRequestOfOrganisationSearchFilter request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfOrganisationSearchFilter

Return Value

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

  var organisationSearchFilter = new AdministrationService.OrganisationSearchFilter();
  organisationSearchFilter.Active = null; //Optional
  organisationSearchFilter.Filter = string.Empty; //Optional
  organisationSearchFilter.Visible = null; //Optional
  organisationSearchFilter.PageNumber = 1; //Optional
  organisationSearchFilter.PageSize = 10; //Optional 
  organisationSearchFilter.Partner_RSN = Guid.Empty; //Optional
  organisationSearchFilter.OrganisationType = string.Empty; //Optional 

  request.Value = organisationSearchFilter;

  AdministrationService.ResultOfPagedCollectionOfOrganisationStub result = svc.SelectPartnersAndPartnerOutletsWithoutSecurityAccounts(request);

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