grouper-users - [grouper-users] RE: "Show all groups where this entity is a member" in API?
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: "Snee, Tom" <>, "" <>
- Subject: [grouper-users] RE: "Show all groups where this entity is a member" in API?
- Date: Thu, 17 Jul 2014 18:55:03 +0000
- Accept-language: en-US
To find the groups something is a member of, you need to consider your object to be a Subject. But the Subject API is not grouper specific, so the subject
wrapper in grouper is called Member. So you convert your group to a member and get the groups. Set<Group> groups = new Group().toMember().getGroups(); Thanks, Chris From: [mailto:]
On Behalf Of Snee, Tom I'm using the Java API. Tom From:
Chris Hyzer <> Are you talking about WS or Java API? Thanks, Chris From:
[]
On Behalf Of Snee, Tom I've looked through the JavaDocs, but have not been able to find anything like the UI's "Show all groups where this entity is a member" functionality. I need
to programmatically find a list of groups to which a given group belongs, using the 1.6 API. Does anyone have any suggestions? Thanks. |
- [grouper-users] "Show all groups where this entity is a member" in API?, Snee, Tom, 07/17/2014
- [grouper-users] RE: "Show all groups where this entity is a member" in API?, Chris Hyzer, 07/17/2014
- [grouper-users] Re: "Show all groups where this entity is a member" in API?, Snee, Tom, 07/17/2014
- [grouper-users] RE: "Show all groups where this entity is a member" in API?, Chris Hyzer, 07/17/2014
- [grouper-users] Re: "Show all groups where this entity is a member" in API?, Snee, Tom, 07/17/2014
- [grouper-users] RE: "Show all groups where this entity is a member" in API?, Chris Hyzer, 07/17/2014
Archive powered by MHonArc 2.6.16.