Overview of System.DirectoryServices
The System.DirectoryServices namespace contains several classes, many of which were built on top of ADSI. If you are already familiar with ADSI, the learning curve for the System.DirectoryServices classes should be pretty minimal. Table 31-1 contains the base classes contained within the System.DirectoryServices namespace.

Figure 31-2. Adding a reference to System.DirectoryServices
Table 31-1. System.DirectoryServices classes
|
Class name |
Description |
|---|---|
|
|
Contains the children (child entries) of an entry in Active Directory. |
|
|
Encapsulates a node or object in the Active Directory hierarchy. |
|
|
Performs queries against Active Directory. |
|
|
Allows control of code access security permissions for |
|
|
Allows declarative |
|
|
Defines the smallest unit of a code access security permission set for |
|
|
Contains a strongly typed collection of |
|
|
Contains the properties of a |
|
|
Contains the values of a |
|
|
Contains ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access