Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Webservice getGroups scope to stem

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Webservice getGroups scope to stem


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Colin Hudler <>, "" <>
  • Subject: RE: [grouper-users] Webservice getGroups scope to stem
  • Date: Thu, 28 Jan 2010 10:57:36 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US

I don't think findGroups can find based on membership, only by group
attribute. I think you want to use getGroups, though limiting by stem is 1.6+

Thanks,
chris

-----Original Message-----
From: Colin Hudler
[mailto:]

Sent: Thursday, January 28, 2010 10:55 AM
To:

Subject: [grouper-users] Webservice getGroups scope to stem

Greetings,

Apologies if this is a FAQ or is obvious. I couldn't find it. Using
the webservice, I want to call findGroups on one subject, starting at a
particular stem. This is what I tried:

GET

/web/servicesRest/xml/v1_4_000/subjects/30505932A/groups?queryFilterType=FIND_BY_STEM_NAME&stemName=uc:orgs

and several variations on the URL, which obviously don't work. Find
Groups page <https://spaces.internet2.edu/display/GrouperWG/Find+Groups>
has this to say:

"For AND|OR|MINUS you can link up multiple queries into one"

which is what led me to believe this was possible in the first place.

GetMemberships (1.6.x only!) is more explicit about it
<https://spaces.internet2.edu/display/GrouperWG/v1.6.0+Get+Memberships>:

"Can filter for all memberships directly in a stem, or in any substem of
a stem"

Is there any way to do the same with findGroups in 1.4 or 1.5?



Archive powered by MHonArc 2.6.16.

Top of Page