Click here to Skip to main content
16,019,614 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi
Need help for accessing Microsoft Windows Server 2008 R2's Active Directory Users & computers information through with the help of Java?

Thanks in advance

Regards,
Jayesh B
Posted
Updated 4-Dec-13 1:10am
v2
Comments
Richard MacCutchan 4-Dec-13 6:39am    
What help? No one is going to just hand you the code for this, you are expected to do your own work. It's also unlikely that Java is the right language for such a project. Native Windows (C++/MFC) would most likely be a better choice.
Jayesh B 4-Dec-13 7:08am    
Hi Richard,
Thanks for Suggestion to use Native windows. But this I don't need for my project. I have to implement with the help of Java only.
I respect your experience in programming. I'd like to take some directions to implement this challenging task. I also don't need a ready code. I need only a ray of light as I am in a dark room.
Richard MacCutchan 4-Dec-13 8:03am    
And likely to remain there. You can get this information using .NET classes as described in Active Directory Users and Computers. But I do not know how you would do that in Java.
Jayesh B 5-Dec-13 0:42am    
So is the meaning behind your recent comment, with the help of JAVA I can't access Active Directory Users & Computers???
I agree that we can achieve this requirement with .net class library, but this won't mean that Java doesn't supports this.
You are master in .net technology that's why you are suggesting me to use .net Thanks for your valuable suggestion, But I raised this question here to get some help. At-least someone will show me a ray of light.
Richard MacCutchan 5-Dec-13 3:55am    
What ray of light do you expect? There are no native Java classes for accessing this information so you would need to create a library in either native C++/Win32 or C#/.NET, and access them from your Java code.

Alternatively you could use Google to see if anyone has already written an interface for Java.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900