I need to get list of users(basically list of email addresses of users) who are members of AD group
Please help with sample Java program to list all the user info below to group
My AD sever has a group with name "MyGroup" and has two members "user1" and "user2" can I able to read the email ids of the user1 and user2 by querying AD sever with group name MyGroup
Thanks in advance
Joined: Nov 16, 2010
Anybody has an idea about this.
Stuart A. Burkett
Joined: May 30, 2012
AD has an LDAP interface to it, so that is probably the easiest way to do it. If you haven't used LDAP through Java before, this is probably a good place to start.
The alternative is to write the code that accesses AD in C/C++ and then write a JNI wrapper around that code. This is definitely the less easy option but will give you greater flexibility when accessing AD.