Directory Services

Using Active Directory

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

Active Directory is compliant with Lightweight Directory Access Protocol (LDAP) 3.0, which is defined by RFC 2251 and other RFCs. Any of the following API sets can be used to access Active Directory. 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 Microsoft Visual Basic Scripting Edition (VBScript).

This section discusses the following topics: