Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Getting group members of groups

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Getting group members of groups


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Peter DiCamillo <>
  • Cc: "" <>
  • Subject: RE: [grouper-users] Getting group members of groups
  • Date: Wed, 20 Feb 2013 15:19:20 +0000
  • Accept-language: en-US
  • Authentication-results: sfpop-ironport03.merit.edu; dkim=neutral (message not signed) header.i=none

This should work:

Set<Member> members = group.getImmediateMembers(null,
GrouperUtil.toSet(SourceManager.getInstance().getSource("g:gsa")), null);

Thanks,
Chris

-----Original Message-----
From: Peter DiCamillo
[mailto:]

Sent: Wednesday, February 20, 2013 10:19 AM
To: Chris Hyzer
Cc:

Subject: Re: [grouper-users] Getting group members of groups

Immediate members, and Grouper 2.1.3. Thanks.

Peter

On 2/20/13 10:17 AM, Chris Hyzer wrote:
> There are a few ways to do this. Do you want immediate and effective
> members? Which version of Grouper?
>
> Set<Member> members = group.getMembers(null,
> GrouperUtil.toSet(SourceManager.getInstance().getSource("g:gsa")), null);
>
> Thanks,
> Chris
>
> -----Original Message-----
> From:
>
>
> [mailto:]
> On Behalf Of Peter DiCamillo
> Sent: Wednesday, February 20, 2013 10:13 AM
> To:
>
> Subject: [grouper-users] Getting group members of groups
>
> Using the Grouper Java API, is there an efficient way to get all the
> groups that are members of a given group? I'm wondering if there is a
> faster way than getting all the memberships, and testing which are
> groups, since in some cases the groups have thousands of person members.
>
> Peter




Archive powered by MHonArc 2.6.16.

Top of Page