Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using C# with Active Directory Tutorials

Can anyone suggest some tutorials for beginners that utilize the C# language to access Active Directory? Thanks.

like image 265
jpavlov Avatar asked Jun 08 '10 15:06

jpavlov


People also ask

What is C in used for?

C is a programming language that is both versatile and popular, allowing it to be used in a vast array of applications and technologies. It can, for example, be used to write the code for operating systems, much more complex programs and everything in between.

What does %d do?

%d takes integer value as signed decimal integer i.e. it takes negative values along with positive values but values should be in decimal otherwise it will print garbage value. ( Note: if input is in octal format like:012 then %d will ignore 0 and take input as 12) Consider a following example.

Is C used nowadays?

There is at least one C compiler for almost every existent architecture. And nowadays, because of highly optimized binaries generated by modern compilers, it's not an easy task to improve on their output with hand written assembly.

Why do people use C?

As a middle-level language, C combines the features of both high-level and low-level languages. It can be used for low-level programming, such as scripting for drivers and kernels and it also supports functions of high-level programming languages, such as scripting for software applications etc.


1 Answers

Have a look at this Code Project article and this MSDN code sample collection. The API is actually really simple - the hard part is finding the desired information in the directory. From my (limited) experience the (naming) schema of the standard ActiveDirectory is not that consistent. Active Directory Explorer might be very helpful at this point.

like image 143
Daniel Brückner Avatar answered Sep 20 '22 03:09

Daniel Brückner