[Building Sakai] Sakai WebService Help
Steve Swinsburg
steve.swinsburg at gmail.com
Sat Jun 25 01:12:51 PDT 2011
Hi Rupal,
Which version of Sakai are you using?
From: https://source.sakaiproject.org/svn//webservices/trunk/axis/src/webapp/SakaiScript.jws
There is a method getSitesUserCanAccess which returns all sites a user has read or write access to (ie is a normal user or a maintainer). There is another web service called getAllSitesForUser which returns that same list but also includes their My Workspace site.
To add a user to a site use addMemberToSite. To add multiple users to the same site, call that method for each user. There are also some Perl scripts that you can use/modify for your own needs here:
https://source.sakaiproject.org/contrib/swinsburg/webservice-scripts/
cheers,
Steve
On 24/06/2011, at 4:10 PM, Rupal Chatterjee wrote:
> Hi Everyone,
>
> Thanks for your time.
>
> I am stuck on two problems. Please help me out.
>
> 1. I want to use sakai webservice to get all joinable site. how can i achieve that? which webservice method i should use?
>
> 2. I want to add new user to a specific site or you can say add participents to a specific site using webservices. Which webservice method i should use. Please help.
>
>
> Thanks and Regards
> Rupal Chatterjee
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
More information about the sakai-dev
mailing list