The information in this article applies to:
SUMMARYIn order to view hidden and deleted objects in the Exchange directory, you must explicitly connect to the server as an Exchange admin account and specify an additional username component of "cn=admin". MORE INFORMATIONYou can bind explicitly as an admin by using a Bind DN (ADSI username) of the following form:
The username and domain should be replaced with appropriate values, while
the cn=admin portion is literal and should be used as is.
The following Microsoft Visual Basic code illustrates binding as an admin using ADSI LDAP: NOTE: When you connect with "cn=admin", hidden and deleted objects appear mixed with normal objects. You must test for (or filter on) the Is-Deleted or Hide-From-Address-Book properties to distinguish them from normal objects.
REFERENCESMore information on using ADSI, Lightweight Directory Access Protocol (LDAP), and Exchange is available at: http://www.microsoft.com/exchange/guide/papers/adsi.aspFor additional information on using LDAP to view hidden and deleted objects, please see the following article in the Microsoft Knowledge Base: Q185475 XADM: LDAP Search Returns No Entries For Hidden/Deleted Objects Additional query words: kbLDAP
Keywords : kbADSI kbAPI kbSDKPlatform |
Last Reviewed: October 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |