Programming Microsoft Outlook and Microsoft Exchange, Second Edition (DV-MPS Programming)

We've seen one way to access the directory—by using the CDO library. CDO provides a set of objects that allow you to query information stored in the Exchange Server directory under the AddressEntry section of the CDO hierarchy. Another way to access the Exchange Server directory is to use Active Directory Services Interfaces (ADSI).

ADSI is a set of COM interfaces that allow you to manipulate objects in different directories, including Exchange Server 5.5. ADSI supports different protocols including Lightweight Directory Access Protocol (LDAP), Netware Directory Services (NDS), and Microsoft Windows NT Directory Services (NTDS). The advantage of ADSI is that it is not designed based on a specific API, which makes it more flexible. Also, ADSI can be used with multiple programming languages, such as Microsoft Visual Basic, Microsoft Visual Basic Scripting Edition (VBScript), Java, and Microsoft Visual C++.

Категории