wood burning stoves 2.0*
The moose likes Security and the fly likes How to get list of user groups of active directory? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "How to get list of user groups of active directory?" Watch "How to get list of user groups of active directory?" New topic
Author

How to get list of user groups of active directory?

Yaron Rel
Greenhorn

Joined: Aug 04, 2009
Posts: 20
Hi,
1. I haven't find yet simple way to get all user groups.
2. is there any way for fetching their unique identifiers in case their name will be changed?

Here is the code sample I use:
Yaron Rel
Greenhorn

Joined: Aug 04, 2009
Posts: 20
I found some solution:
BTW,
in order to avoid "PartialResultException" its recommended to use:
1. searchResults.hasMoreElements() instead of searchResults.hasMore()
2. env.put(Context.REFERRAL, "follow");

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get list of user groups of active directory?