grouper-users - Re: [grouper-users] Webservice getGroups scope to stem
Subject: Grouper Users - Open Discussion List
List archive
- From: Tom Barton <>
- To: Chris Hyzer <>
- Cc: Colin Hudler <>, "" <>
- Subject: Re: [grouper-users] Webservice getGroups scope to stem
- Date: Thu, 28 Jan 2010 10:12:05 -0600
Chris, is there a way to do this if the API was used instead of web services? Just curious.
Tom
Chris Hyzer wrote:
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?
- Webservice getGroups scope to stem, Colin Hudler, 01/28/2010
- RE: [grouper-users] Webservice getGroups scope to stem, Chris Hyzer, 01/28/2010
- Re: [grouper-users] Webservice getGroups scope to stem, Colin Hudler, 01/28/2010
- Re: [grouper-users] Webservice getGroups scope to stem, Tom Barton, 01/28/2010
- RE: [grouper-users] Webservice getGroups scope to stem, Chris Hyzer, 01/28/2010
- RE: [grouper-users] Webservice getGroups scope to stem, Chris Hyzer, 01/28/2010
Archive powered by MHonArc 2.6.16.