-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathns-System.DirectoryServices.xml
More file actions
37 lines (23 loc) · 3.36 KB
/
ns-System.DirectoryServices.xml
File metadata and controls
37 lines (23 loc) · 3.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<Namespace Name="System.DirectoryServices">
<Docs>
<summary>Provides easy access to Active Directory Domain Services from managed code. The namespace contains two component classes, <see cref="T:System.DirectoryServices.DirectoryEntry" /> and <see cref="T:System.DirectoryServices.DirectorySearcher" />, which use the Active Directory Services Interfaces (ADSI) technology. ADSI is the set of interfaces that 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 size of the network.</summary>
<remarks>
<format type="text/markdown"><
- [Active Directory Service Interfaces](/windows/desktop/ADSI/active-directory-service-interfaces-adsi)
- [Lightweight Directory Access Protocol](/previous-versions/windows/desktop/ldap/lightweight-directory-access-protocol-ldap-api)
- [Implementing Active Directory Service Interfaces Providers](/windows/desktop/ADSI/implementing-adsi-providers)
- [Binding to an ADSI Object](/windows/desktop/ADSI/binding-to-an-adsi-object)
- [IADsOpenDSObject::OpenDSObject](/windows/win32/api/iads/nf-iads-iadsopendsobject-opendsobject)
Active Directory Domain Services use a tree structure. Each node in the tree contains a set of properties. Use this namespace to traverse, search, and modify the tree, and read and write to the properties of a node.
The <xref:System.DirectoryServices.DirectoryEntry> class encapsulates a node or object in the Active Directory Domain Services hierarchy. Use this class for binding to objects, reading properties, and updating attributes. Together with helper classes, <xref:System.DirectoryServices.DirectoryEntry> provides support for life-cycle management and navigation methods, including creating, deleting, renaming, moving a child node, and enumerating children.
Use the <xref:System.DirectoryServices.DirectorySearcher> class to perform queries against the Active Directory Domain Services hierarchy. LDAP is the only system-supplied Active Directory Service Interfaces (ADSI) provider that supports searching.
A search of the Active Directory Domain Services hierarchy through <xref:System.DirectoryServices.DirectorySearcher> returns instances of <xref:System.DirectoryServices.SearchResult>, which are contained in an instance of the <xref:System.DirectoryServices.SearchResultCollection> class.
]]></format>
</remarks>
</Docs>
</Namespace>