Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] RE: Grouper Web Services GetGroups - Direct vs Indirect

Subject: Grouper Developers Forum

List archive

[grouper-dev] RE: Grouper Web Services GetGroups - Direct vs Indirect


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Dorsey Dick <>, Grouper Dev <>
  • Subject: [grouper-dev] RE: Grouper Web Services GetGroups - Direct vs Indirect
  • Date: Tue, 5 Aug 2014 02:43:36 +0000
  • Accept-language: en-US

This is the doc page for getGroups:

 

https://spaces.internet2.edu/display/Grouper/Get+Groups

 

If you click on request object

 

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

 

You see that… some of the params are not documented  J

 

Here is another doc page:

 

http://anonsvn.internet2.edu/viewvc/viewvc.py/i2mi/trunk/grouper-ws/grouper-ws/doc/api/edu/internet2/middleware/grouper/ws/GrouperServiceLogic.html?revision=9065&view=co

 

Go to getGroups

 

http://anonsvn.internet2.edu/viewvc/viewvc.py/i2mi/trunk/grouper-ws/grouper-ws/doc/api/edu/internet2/middleware/grouper/ws/GrouperServiceLogic.html?view=co#getGroups(GrouperVersion, edu.internet2.middleware.grouper.ws.coresoap.WsSubjectLookup[], edu.internet2.middleware.grouper.ws.member.WsMemberFilter, edu.internet2.middleware.grouper.ws.coresoap.WsSubjectLookup, boolean, boolean, java.lang.String[], edu.internet2.middleware.grouper.ws.coresoap.WsParam[], java.lang.String, java.lang.String, edu.internet2.middleware.grouper.ws.coresoap.WsStemLookup, edu.internet2.middleware.grouper.ws.query.StemScope, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Boolean, java.sql.Timestamp, java.sql.Timestamp)

 

And you see the “memberFilter” can be “Immediate”.   Try sending that param.

 

Thanks,

Chris

 

 

 

From: [mailto:] On Behalf Of Dorsey Dick
Sent: Monday, August 04, 2014 4:03 PM
To: Grouper Dev
Subject: [grouper-dev] Grouper Web Services GetGroups - Direct vs Indirect

 

Hello, I’m using the Grouper web services getGroups to retrieve the memberships for one subject. This is returning a list of groups in which the subject is both a direct and indirect member. Is there a way to get only direct memberships, or have the web service return whether a membership is direct or indirect?

 

Below is the URL I’m using:

 

grouper-ws/servicesRest/json/v2_1_004/subjects/testuser/groups

 

Thanks,

Dorsey




Archive powered by MHonArc 2.6.16.

Top of Page