getSites list the sites the specified user has explicit
membership of.
public List<Site> getSites()
public List<Site> getSites() list the sites the
current user has explicit membership of.
Parameters
None
Returns
Returns a List<Site> representing a list of sites the current user has membership of.
Exception
Throws an SkyVaultServiceException if the operation cannot be carried out.
Example
// Get site service siteService = session.getServiceRegistry() .getSiteService(); // Get sites List<Site> sites = List<Site> siteService.getSites();
public PagingResult<Site> getSites(ListingContext listingContext)
public PagingResult<Site> getSites(ListingContext
listingContext) list the sites the current user has explicit membership
of.
Parameters
- ListingContext listingContext
- The listing context to use to control paging of results. See ListingContext for further information.
Returns
Returns a PagingResult<Site> representing a list of sites the current user has membership of.
Exception
Throws an SkyVaultServiceException if the operation cannot be carried out.