Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Creating Active Directory Components

Creating Active Directory Components

Visual Studio .NET 2003

The .NET Framework provides two Active Directory component classes: DirectoryEntry and DirectorySearcher. They are classes of the System.DirectoryServices namespace that use the Active Directory Services Interfaces (ADSI) technology. ADSI is the set of interfaces Microsoft provides as a flexible tool for working with a variety of network providers. ADSI gives the administrator the ability to locate and manage resources on a network with relative ease, regardless of the network's size. The topics in this section cover the various tasks and concepts involved in working with Active Directory objects.

In This Section

Introduction to Active Directory Objects
Provides an introduction to Active Directory components and requirements for using them.
Active Directory Technology Backgrounder
Summarizes key concepts for Visual Studio developers about the Windows Active Directory hierarchy and provides links to the SDK and other resources.
Creating DirectoryEntry Component Instances
Describes how to create instances of the DirectoryEntry component.
Modifying Object Properties in an Active Directory Hierarchy
Explains how to bind to an Active Directory object and modify its properties.
Creating Nodes in an Active Directory Hierarchy
Describes the steps involved in creating a node in an Active Directory hierarchy.
Removing Active Directory Nodes
Describes how to remove nodes and entire subtrees from Active Directory.
Searching Active Directory Hierarchies
Describes how to search The Active Directory hierarchy using the DirectorySearcher component.
Walkthrough: Adding Active Directory Objects
Demonstrates locating a resource on a network and iterating through its property values.

Related Sections

DirectoryEntry Class
Provides syntax and other reference information about the DirectoryEntry component.
DirectorySearcher Class
Provides syntax and other reference information about the DirectorySearcher component.
Directory Services
Provides information from the Platform SDK about Active Directory, ADSI, ADSI for Microsoft Exchange Server, the Lightweight Directory Access Protocol (LDAP) API, as well as a glossary.
Active Directory Services Interface (ADSI): Frequently Asked Questions
Provides answers to common questions about ADSI, including service providers supported.
Show:
© 2015 Microsoft