This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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?
 
Similar Threads
LDAP sample program
Connecting to Active Directory using LDAP
Help to solve reset User LDAP problem
Change Ldap Password
AD LDAP Authentication & Data Fetch Error.