Correct answer by
Not applicable
22-02-2011
00:40 PST
- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi!
I know you mentioned that you looked into this without success, but it should really work.
First make a GroupMemebershipSearchFilter, setting the GroupOid to be ID of the group itself. Using the DirectoryManagerServiceClient you can then call findGroupMembers using the searchFilter which returns a List<User>, as follows:
DirectoryManagerServiceClient directoryManager = new DirectoryManagerServiceClient(serviceConnection.getFactory());
List<User> userList = new ArrayList<User>();
try
{
userList = directoryManager.findGroupMembers(searchFilter);
}
catch (Exception e)
{
// Error stuffs
}
return userList;
Views
Replies
0 Likes
Total Likes