INFO: Finding the Distinguished Name of a MAPI Object

ID: Q216407


The information in this article applies to:
  • Extended Messaging Application Programming Interface (MAPI), version 1.0


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.


REFERENCES

Platform SDK documentation in the MSDN.

Additional query words: kbMapi kbMsg kbMAPI100

Keywords : kbMAPI kbMsg kbMAPI100
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: February 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.