Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Format of sourceIds for getMembers

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Format of sourceIds for getMembers


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Julio Polo <>, "" <>
  • Subject: RE: [grouper-users] Format of sourceIds for getMembers
  • Date: Fri, 25 Oct 2013 05:09:26 +0000
  • Accept-language: en-US

It’s a string array:

 

http://www.internet2.edu/grouper/release/1.6.0/ws/api/edu/internet2/middleware/grouper/ws/rest/member/WsRestGetMembersRequest.html?view=co

 

so maybe something like this:

 

 <sourceIds>

   <string>g:gsa</string>

</sourceIds>

 

 

From: [mailto:] On Behalf Of Julio Polo
Sent: Thursday, October 24, 2013 4:18 PM
To:
Subject: [grouper-users] Format of sourceIds for getMembers

 

What is the format of the sourceIds string when calling getMembers?  

I assume its purpose is to limit the results to subjects from that source.  I wanted to get all immediate members that are groups, not people, so I called this web service:

<WsRestGetMembersRequest>
 <wsGroupLookups>
  <WsGroupLookup>
   <groupName> SOME_GROUP_HERE </groupName>
  </WsGroupLookup>
 </wsGroupLookups>
   <includeSubjectDetail>T</includeSubjectDetail>
 <subjectAttributeNames>
   <string>uid</string>
 </subjectAttributeNames>
 <memberFilter>immediate</memberFilter>
 <sourceIds>g:gsa</sourceIds>
</WsRestGetMembersRequest>

and the results indicate that it didn't accept g:gsa as the value of sourceIds

sourceIds: Empty array

What is the syntax for sourceIds?


Julio Polo
University of Hawaii




Archive powered by MHonArc 2.6.16.

Top of Page