Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

This sample shows how to access Active Directory information in a Windows 2000 domain.

This sample code can sense current context in Active Directory, checks for the existence of attributes, provides a list of all the attributes in Active Directory and can add a user to Active Directory.
Everything on Active Directory, not only its articles: the Active Directory page →

Directory Services have gained a lot of traction over the last few years. Directories are repositories of information and can be utilized in many different ways.

This application does one simple task. On any network where Microsoft Active Directory is used it will list all computers on the network. I faced this problem when I wanted to document all of the computers on the network using WMI .

Working on my latest project required quite a degree of development against the Active Directory.

The attached source code shows you how to list an active directory users in .NET using C#.

When storing user information, developers can have two choices to choose from - Active directory and a relational database. This article sheds lights on usefulness of each of these and when to use one over the other and vice versa.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article