Using Active Directory Domain Services

This section provides guidelines for writing applications that use or publish data in an Active Directory directory service.


The following documentation is for computer programmers. If you are trying to resolve an Active Directory home printing error, see the following suggestion from the Microsoft community pages; if that doesn't help, try these recommendations from TechNet.


Active Directory Domain Services are compliant with Lightweight Directory Access Protocol 3.0, which is defined by RFC 2251 and other RFCs. Any of the following API sets can be used to access Active Directory Domain Services. Each API set has advantages and disadvantages that depend on the programming language, programming environment, and intended method of execution. The majority of the examples in this guide use ADSI, which is supported by languages such as C and C++, as well as automation-compliant languages such as Microsoft Visual Basic and Visual Basic Scripting Edition.

For more information about specific Active Directory Domain Services technologies, see:

This section discusses the following topics: