[Building Sakai] Add users to groups via EntityBroker (direct)

Adrian Fish adrian.r.fish at gmail.com
Fri Nov 9 07:12:41 PST 2012


Has anybody got any working perl code for adding a set of users to a site
group?

I'm hoping to be able to do something like this, using LWP::UserAgent:

$useragent->post("http://localhost/direct/membership/new",
{'_locationReference' => '/site/somesite/group/somegroup, '_userIds' =>
'user1,user2,user3');

but I can't get anything working.

Cheers,
Adrian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121109/3d3933ca/attachment.html 


More information about the sakai-dev mailing list