logo       

Re: Getting the list of sites a user can access? (2.2): msg#00741

cms.sakai.devel

Subject: Re: Getting the list of sites a user can access? (2.2)

Take a look at SakaiSite.jws in the web services area.

/Chuck

On Apr 28, 2006, at 8:56 AM, Zeckoski, Aaron wrote:

What is the right way of a getting a list of Site objects that a user
has access to in Sakai 2.2? I tried the following but I keep getting an
empty list. (siteService is injected)

siteService.getSites(SiteService.SelectionType.ACCESS, null, null, null,
SiteService.SortType.TITLE_ASC, null);

Is there something in the presence stuff that will do this? Does this
include the current site for the user or not?

-AZ

--
Aaron Zeckoski (aaronz@xxxxxx)
Lead Developer - Learning Technologies - Virginia Tech

----------------------
This automatic notification message was sent by Sakai Collab (http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.




----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise