Click here to Skip to main content
15,881,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I was trying to find some code sample to write a C# class library to retrive all info from AD.

But i haven't really seen much online,some one enlighten me.

Thanks
Sha
Posted
Comments
Toli Cuturicu 21-Feb-11 4:50am    
And AD means... Anno Domini or what??

I tried to reproduce your result but failed.

Whatever I tried to Google typically returned few millions results. The best I could achieve was about 0.1 millions, when I put too many words in the query including "all info", which is explainable, because it's hard to imagine what that supposed to mean. Even in this case the relevance of results was pretty good; some results were complete with clear code samples.

I would ask you to share you Google query strings as I fail to understand your situation.

Thank you very much.

—SA
 
Share this answer
 
Comments
Nish Nishant 20-Feb-11 20:42pm    
>> The best I could achieve was about 0.1 millions <<

LOL!
Espen Harlinn 21-Feb-11 9:33am    
Good reply :)
Sergey Alexandrovich Kryukov 21-Feb-11 16:16pm    
Thank you.
If not immediately helpful, so maybe sobering..?
--SA
Your question is very broad and I am not sure if you can get much help for everything you are looking for.

1. You are trying to write a library that can do some (all?) functionality of AD. Well I am assuming you know how to write class library
2. There many examples that show you how to work with AD such as

http://www.willasrari.com/blog/query-active-directory-users-using-c/000133.aspx[^]

How to get User Data from the Active Directory[^]

Now you need to refer to the documentation and figure out what methods to calls for the functionality you want to support.

http://msdn.microsoft.com/en-us/library/system.directoryservices.directoryentry.aspx[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 20-Feb-11 23:40pm    
Good, it's 5, too.
Why so much buzz about this Active Directory? The number of articles is too big; even though the question is too broad, amount of information is overwhelming.
--SA
shan1395 21-Feb-11 1:32am    
Hi Yusuf,

I seen the example you mentioned,now i gotta problem how to execute my c# class library file,please help .Am damn new to .Net
Yusuf 21-Feb-11 8:00am    
Being new is not a problem. If you are new then you need to start where everyone started. That is called LEARNING.
Yusuf 21-Feb-11 8:01am    
The problem is many of this new "programmers" do not have the basics of Software Engineering. They seem to lack the basic understanding of the practice, aarrrrggggg!
Sergey Alexandrovich Kryukov 21-Feb-11 16:07pm    
I think, there is no such think as software school, not yet, well, almost.
One big fallacy is teaching language without essential CS background, lack of wider picture and concepts; this is especially apparent on users of popular languages like C++ (not even mentioning VB).
--SA
 
Share this answer
 

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