You are here

searchMembers

searchMembers - search for members in the site using the specified keywords.
Attention: These methods were added with SDK version 1.3.

public List<Person> searchMembers(Site site, String keywords)

public List<Person> searchMembers(Site site, String keywords) search for members of the specified site using the specified keywords.

Parameters

Site site
The site to return a list of members for.
String keywords
The keywords to search on.

Returns

Returns a List<Person> representing a list of members found for the specified site.

Example




        

public PagingResult<Person> searchMembers(Site site, String keywords, ListingContext listingContext)

public PagingResult<Person> searchMembers(Site site, String keywords, ListingContext listingContext) return a paged list of members for the specified site.

Parameters

Site site
The site to return a paged list of members for.
String keywords
The keywords to search on.
ListingContext listingContext
The listing context to use to control paging of results. See ListingContext for further information.

Returns

Returns a PagingResult<Person> representing a paged list of members found.

Example