Click or drag to resize

AdministrationClientSelectUserLookupListValue_List Method

Syntax
C#
public ResultOfPagedCollectionOfUserLookupListValue SelectUserLookupListValue_List(
	ManagementGroupRequestOfUserLookupListValueSearch request
)

Parameters

request
Type: AdministrationServiceManagementGroupRequestOfUserLookupListValueSearch

Return Value

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

  var userLookupListValueSearch = new AdministrationService.UserLookupListValueSearch(); //Required
  userLookupListValueSearch.DisplayValue = string.Empty; //Optional
  userLookupListValueSearch.KeyCode = string.Empty; //Optional

  userLookupListValueSearch.UserLookupList_DisplayValue = string.Empty; //Optional
  userLookupListValueSearch.UserLookupList_KeyCode = string.Empty; //Optional
  userLookupListValueSearch.UserLookupList_RSN = Guid.Empty; //Optional

  userLookupListValueSearch.PageNumber = 1; //Optional - Defaults to 1
  userLookupListValueSearch.PageSize = 100; //Optional - Defaults to 100

  request.Value = userLookupListValueSearch;//Required

  AdministrationService.ResultOfPagedCollectionOfUserLookupListValue result = svc.SelectUserLookupListValue_List(request);

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