Microsoft KB Archive/252886

= INFO: Exchange 2000 Does Not Support Directory API =

Article ID: 252886

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Exchange Development Kit 5.5
 * Microsoft Exchange Development Kit 5.5
 * Microsoft Exchange Server 2003 Software Development Kit

-



This article was previously published under Q252886



SUMMARY
The Directory API (DAPI) is not supported under Exchange 2000. DAPI code that was written for previous versions of Exchange will not work against the Exchange 2000 directory. Instead, you should use Active Directory Services Interface (ADSI) or Light-weight Directory Access Protocol (LDAP) API to programmatically manipulate the Exchange 2000 directory.



MORE INFORMATION
Exchange 2000 Directory Services is tightly integrated with and dependent on Microsoft Windows 2000 Directory Services. DAPI is a technology specific to earlier versions of Microsoft Exchange. Because of the tight integration with the Windows 2000 directory structure, DAPI support is not included in Exchange 2000. LDAP API is supported in Exchange 2000, but Microsoft recommends that you use ADSI to develop custom directory solutions.

Earlier versions of Exchange Server running on Windows NT platforms will still support DAPI, and these earlier servers can participate in Exchange 2000 organizations. However, any directory solutions that target Exchange 2000 or Windows 2000 directory objects must use ADSI or LDAP API as the mechanism for doing so.

You cannot use the Exchange 2000 .dll files with DAPI to programmatically access an Exchange 5.x server. You must use Exchange Server version 5.x .dll files.

