grouper-users - RE: [grouper-users] groupName equals subjectIdentifier?
Subject: Grouper Users - Open Discussion List
List archive
- From: "Hyzer, Chris" <>
- To: Julio Polo <>, "" <>
- Subject: RE: [grouper-users] groupName equals subjectIdentifier?
- Date: Wed, 17 Feb 2016 22:22:21 +0000
- Accept-language: en-US
- Authentication-results: hawaii.edu; dkim=none (message not signed) header.d=none;hawaii.edu; dmarc=none action=none header.from=isc.upenn.edu;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
Sorry, something like this: PUT /grouper-ws/servicesRest/v2_2_000/groups/aStem%3AaGroup/members HTTP/1.1 Connection: close Authorization: Basic xxxxxxxxxxxxxxxxx== User-Agent: Jakarta Commons-HttpClient/3.0 Host: localhost:8092 Content-Length: 173 Content-Type: text/x-json; charset=UTF-8 { "WsRestAddMemberRequest":{ "replaceAllExisting":"F", "subjectLookups":[ { "subjectSourceId":"g:gsa", "subjectIdentifier":"a:b:c:d" }, { "subjectSourceId":"g:gsa", "subjectIdentifier":"a:b:c:e" } ] } } From: [mailto:]
On Behalf Of Hyzer, Chris if you are looking up a group to use as a subject, you need to use subjectLookup
J in addMember the wsGroupLookup is the group to add the subjects to You can yes, for subject source id you can use “g:gsa”, and for subjectId you can use the UUID or for subjectIdentifier you can use the group system name… ok?
J I would like the non lite one and pass in the body of the call a bunch of subject lookups… Like this sample: PUT /grouper-ws/servicesRest/v2_2_000/groups/aStem%3AaGroup/members HTTP/1.1 Connection: close Authorization: Basic xxxxxxxxxxxxxxxxx== User-Agent: Jakarta Commons-HttpClient/3.0 Host: localhost:8092 Content-Length: 173 Content-Type: text/x-json; charset=UTF-8 { "WsRestAddMemberRequest":{ "replaceAllExisting":"F", "subjectLookups":[ { "subjectIdentifier":"a:b:c:d" }, { "subjectIdentifier":"a:b:c:e" } ] } } Thanks Chris From:
[]
On Behalf Of Julio Polo I'm using Grouper web services to add several groups as members of another group. I'm using addMember, but I couldn't use its wsGroupLookup because it appears to support adding only one group at a time. -julio |
- [grouper-users] groupName equals subjectIdentifier?, Julio Polo, 02/17/2016
- RE: [grouper-users] groupName equals subjectIdentifier?, Hyzer, Chris, 02/17/2016
- RE: [grouper-users] groupName equals subjectIdentifier?, Hyzer, Chris, 02/17/2016
- Re: [grouper-users] groupName equals subjectIdentifier?, Julio Polo, 02/17/2016
- RE: [grouper-users] groupName equals subjectIdentifier?, Hyzer, Chris, 02/17/2016
- RE: [grouper-users] groupName equals subjectIdentifier?, Hyzer, Chris, 02/17/2016
Archive powered by MHonArc 2.6.16.