Subject: Grouper Users - Open Discussion List
RE: requesting help w/ using gropuerClient API to Subject w/out subjectID or subjectIdentifier only attributes
- From: Chris Hyzer <>
- To: William R Brown <>, "" <>
- Subject: RE: requesting help w/ using gropuerClient API to Subject w/out subjectID or subjectIdentifier only attributes
- Date: Fri, 15 Jan 2010 12:10:10 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
There was a subject WS added in Grouper 1.6 (not released yet). If you are in development you could develop against 1.6 and use that for new… hopefully 1.6 will be out in the next couple of months (we haven’t discussed a schedule).
Greetings Grouper Users:
I'm trying to do a grouper search to return groups for a subject (a person here) where I don't have the subjectID or subjectIdentifier of the subject. All I have is an attribute "cn" which contains part or all of the name.
I can do a GET in the browser and get back the results I need https://grouper.uchicago.edu/web/servicesRest/v1_4_002/subjects/billbrown/groups where the URL contains the id 'billbrown'. I'm not sure how to construct the query in the browser to pass just part of the name in the parameters. Is that possible?
But in the code, I'm using the grouperClient API which has been working well up to this point for finding groups and members of groups based on an ID.
I've been trying to use the GcFindGroups object to run the query (not sure if GcFindGroups maps to the url query above), but I don't have the Subject ID available, just one of the subject attributes "cn". The query doesn't return an error there are just no results:
GcFindGroups gps = new GcFindGroups();
WsQueryFilter filter = new WsQueryFilter();
WsFindGroupsResults results = gps.execute();
I"m thinking that is because the setGroupAttributeName() and setGropuAttributeValue() apply to groups and I'm looking for a subject here?
Should I be using a different object in the grouperClient API to do this type of query?
Thanks for any help or insight about this.
U of Chicago.
- requesting help w/ using gropuerClient API to Subject w/out subjectID or subjectIdentifier only attributes, William R Brown, 01/15/2010
- RE: requesting help w/ using gropuerClient API to Subject w/out subjectID or subjectIdentifier only attributes, Chris Hyzer, 01/15/2010
Archive powered by MHonArc 2.6.16.