Way to list users contained in group
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2009 09:27 AM
Hello,
Is there a way to list users contained in a group using Java. I have a group name, and I need to list it's users. I tried authority service, but it lists groups that contain the user.
thanks
Is there a way to list users contained in a group using Java. I have a group name, and I need to list it's users. I tried authority service, but it lists groups that contain the user.

thanks
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2009 12:06 PM
The AuthorityService is the place to look, it sounds like you are calling the wrong thing, you need the getContainedAuthorities method.
Which version of Alfresco are you using since there's been a lot more added to the Authority Service over the last couple of releases.
Which version of Alfresco are you using since there's been a lot more added to the Authority Service over the last couple of releases.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2009 03:22 AM
Sorry for the late reply, I've been out of town recently
I'm using Alfresco version 3.0.0 (Stable 1526). I tried getContainingAuthorities method. I will try the getContainedAuthorities method now.
thanks
I'm using Alfresco version 3.0.0 (Stable 1526). I tried getContainingAuthorities method. I will try the getContainedAuthorities method now.
thanks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2009 04:02 AM
It works thanks mrogers

