Article ID: 223865 - Last Review: September 28, 2007 - Revision: 3.1 HOW TO: Access MS Exchange Hidden Recipients Using ADSIThis article was previously published under Q223865 On This PageSUMMARY
Hidden recipients usually represent system objects used for configuration and directory replication purposes. However, Microsoft Exchange Server also lets you store recipients in the directory that can be hidden from regular view in Exchange Admin and the Global Address List. This step-by-step article shows you how to access them using ADSI. Access Hidden Receipients Using ADSIIn order to access hidden recipients, you have to bind to the directory with valid user credentials using clear text authentication. The credentials that are used must have Exchange Admin permissions. By appending ",cn=admin" to the user's distinguished name(for example, cn=username,dc=domain,cn=admin), you specify that you wish to be authenticated as an Administrator.Once authenticated with the Exchange Directory, the user is able to view both hidden and deleted directory objects. The LDAP name attribute "Hide-From-Address-Book" is of Boolean type and indicates whether the object is hidden or not. The "Is-Deleted" property indicates whether or not the object is deleted. To view the Hidden Recipients, a filter would be applied for those objects that are hidden but not deleted. Using Visual C++The following Visual C++ code shows how to do this using ADsOpenObject and IDirectorySearch.Using Visual BasicHere's a code example using Visual Basic with ADO 2.0 (IDirectorySearch is not available for automation-based languages):REFERENCES
For additional information about binding to Exchange server using "cn=admin", please see the following
article in the Microsoft Knowledge Base:
196850
(http://support.microsoft.com/kb/196850/EN-US/
)
INFO: Viewing Hidden or Deleted Exchange Objects via ADSI/LDAP
More information on ADSI can be found at: http://msdn2.microsoft.com/library/aa772170.aspx
(http://msdn2.microsoft.com/library/aa772170.aspx)
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:http://msdn.microsoft.com/ie/
(http://msdn.microsoft.com/ie/)
http://support.microsoft.com/iep (http://support.microsoft.com/iep) APPLIES TO
| Article Translations
|


Back to the top
