Microsoft KB Archive/216407

= INFO: Finding the Distinguished Name of a MAPI Object =

Article ID: 216407

Article Last Modified on 8/25/2005

-

APPLIES TO


 * Microsoft Messaging Application Programming Interface

-



This article was previously published under Q216407



SUMMARY
Exchange Server objects, such as mailboxes, exist in the Exchange directory. A distinguished name is needed to reference the object in the directory.

If the object is located by using the Global Address List (GAL) or another MAPI table, the distinguished name of the object can be found by querying the PR_EMS_AB_OBJ_DIST_NAME property.



MORE INFORMATION
The PR_EMS_AB_OBJ_DIST_NAME (0x803C001E) property is a text property that gives the full distinguished name of the object in the directory. This property is in the MAPI header files and in the MSDN documentation. The documentation marks the property as being reserved for internal use. The internal use is for writing only; however, the property can safely be read.

Please note that this does not mean that all properties reserved for internal use may be read. Other properties are still being evaluated for approved use and further information will be published in the Microsoft Knowledge Base or the product documentation as it becomes available.

