This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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
Satish
satish kinikiri
Greenhorn
Joined: Nov 16, 2010
Posts: 5
posted
0
Anybody has an idea about this.
Please help
Stuart A. Burkett
Ranch Hand
Joined: May 30, 2012
Posts: 321
posted
0
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.