Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Determining groups per user, per stem via the REST api

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Determining groups per user, per stem via the REST api


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Niels van Dijk <>, "" <>
  • Cc: Boy Baukema <>, Peter Clijsters <>
  • Subject: RE: [grouper-users] Determining groups per user, per stem via the REST api
  • Date: Fri, 22 Jul 2011 12:51:45 +0000
  • Accept-language: en-US

Yes, you can do this in Lite, or non-Lite by passing a stem lookup and stem
scope to getMembers. Let me know if you need an example or something...

Lite request object:

http://anonsvn.internet2.edu/cgi-bin/viewvc.cgi/i2mi/trunk/grouper-ws/grouper-ws/doc/api/edu/internet2/middleware/grouper/ws/rest/group/WsRestGetGroupsLiteRequest.html?view=co

non-Lite request object:

http://anonsvn.internet2.edu/cgi-bin/viewvc.cgi/i2mi/trunk/grouper-ws/grouper-ws/doc/api/edu/internet2/middleware/grouper/ws/rest/group/WsRestGetGroupsRequest.html?view=co

Thanks,
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Niels van Dijk
Sent: Friday, July 22, 2011 3:46 AM
To:

Cc: Boy Baukema; Peter Clijsters
Subject: [grouper-users] Determining groups per user, per stem via the REST
api

Hi,

Is there a quick way to determine the groups of a user given we have
both the stem and the users id using the REST api? It currently seems
only possible to query all groups of a user and then loop over the
result to determine what stem these are in. This is rather costly. Are
we missing something?

Thanks!
Niels



Archive powered by MHonArc 2.6.16.

Top of Page