Hello - I am building my own search page and am using CommunityServer.Users.GetUsers to generate a list of users.
I define a CommunityServer.UserQuery but it only returns 20 results so have set the PageSize of the UserQuery to a really high value to make sure all recordsa are returned.
Now - I know this is a bad way of doing it but I don't know how to get the GetUsers method to return a list of all the users from the query without setting a pagesize.
I would have thought that the pagesize would just represent the number of results to show on a page rather than the number of results that a query returns?
What I'm trying to achieve is:
Generate a list of users using a query (by username) and bind that to a UserList.
I then want a pager control to allow me to page through my results should there be more than, say, 50 results.
I know there are easier ways of doing this but I have to do it this way as I am doing further filtering on the list of users on other properties that the standard search form doesn't allow.
So - how do return all results from the GetUsers search and then bind them to a UserList control with a pager?