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: Dorsey Dick <>
  • To: Chris Hyzer <>, Grouper Dev <>
  • Subject: [grouper-dev] Re: Grouper Web Services GetGroups - Direct vs Indirect
  • Date: Wed, 6 Aug 2014 14:27:53 +0000
  • Accept-language: en-US

That’s what we were looking for. Thank you!!

From: Chris Hyzer <>
Date: Monday, August 4, 2014 at 10:43 PM
To: Dorsey Dick <>, Grouper Dev <>
Subject: RE: Grouper Web Services GetGroups - Direct vs Indirect

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: [] 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