You are here

getAllMembers

getAllMembers - list all site members.
Attention: These methods were added with SDK version 1.3.

public List<Person> getAllMembers(Site site)

public List<Person> getAllMembers() list all members of the specified site.

Parameters

Site site
The site to return a list of members for.

Returns

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

Example




        

public PagingResult<Person> getAllMembers(Site site, ListingContext listingContext)

public PagingResult<Person> getAllMembers(Site site, 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.
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.

Example