[Building Sakai] Web service to get list of all users

Earle Nietzel earle.nietzel at gmail.com
Wed Aug 24 11:22:04 PDT 2011


Hi Jez,

This simple grep lists all the methods from SakaiScript:

grep -e "^\W*public" webservices/axis/src/webapp/SakaiScript.jws

You ll want: getAllUsers(String sessionid)

If you wanted to use REST I am sure AZ may know it off the top of his head!

Earle

On Wed, Aug 24, 2011 at 10:58 AM, Jez Cope <j.cope at bath.ac.uk> wrote:

> Is there a web service to get a list of all users for all sites on a
> Sakai instance?
>
> I'm aiming to set up a cron job which will join everyone who actually
> uses our Sakai to a "Help & support" site. We have both local and LDAP
> users, so I can't just use the list of local users, and not every user
> in LDAP uses Sakai.
>
> I had previously been using the autojoin tool for this (so people could
> click on a link and get straight to Help & Support), but I'd like to be
> able to send announcements to all users, and at present only people
> who've used the autojoin link would receive them.
>
> Cheers,
> Jez
> --
> Jez Cope <http://people.bath.ac.uk/jc619>, ICT Project Manager
> Centre for Sustainable Chemical Technologies
> <http://www.bath.ac.uk/csct>
> University of Bath
> Tel: +44(0)1225 385827
>
> _______________________________________________
> 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"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110824/dc215ca6/attachment.html 


More information about the sakai-dev mailing list