background preloader

Introduction

Facebook Twitter

Enumerating Active Directory Objects using C# Microsoft introduced the concept of Active Directory with Windows 2000.

Enumerating Active Directory Objects using C#

Information about various resources like people, machines, printers, groups etc. are stored in Active Directory. It provides a single point of management for Windows-based user accounts, clients, servers, and applications, and facilitates network administrators and users to have an integrated view of a network. This simple example uses System.DirectoryServices namespace to interact with Active Directory.

This namespace contains two classes DirectoryEntry and DirectorySearcher to connect to and to retrieve data from an Active Directory source. These classes can be used with any of the four AD service providers, LDAP, IIS, NDS, and WinNT. Active Directory Domain Services. Active Directory Collection: Active Directory.