![]() |
|
||||
Correlation between MAPI Property Tags and Attribute NamesThere exists a relationship between attribute names and MAPI property tags. Microsoft Exchange Server Programmer's Reference comes with a subsection named "Directory Schema Attributes" in its "Reference" section, where a lot of attributes are listed with their corresponding MAPI IDs. For example, for Obj-Dist-Name attribute MapiID is 0x803C. This corresponds to higher 16 bits in MAPI property tag - MAPI property ID. Thus, for any attribute name it is easy to determine MAPI property ID (if one exists) by just looking into appropriate reference section. You may wonder why some attributes don't have MAPI IDs. An example would
be the "Governs-ID" attribute. This attribute defines a specific relationship
between directory schema objects. Directory schema does not define any
physical objects (such as a mailbox, for example), but rather their hierarchy,
or collection of types and how they are related to each other. It would,
perhaps, be correct to say that MAPI was not designed to encapsulate schema
definition. This is the reason why some directory attributes don't have
associated MAPI IDs.
|