The information in this article applies to:
SUMMARYThe following table contains the property identifiers and property tags you can use to access the values of the Custom Attributes of Recipients on Microsoft Exchange Server.
MORE INFORMATIONCollaboration Data Objects (CDO)To retrieve the property using Collaboration Data Objects (CDO) (formerly known as Active Messaging), use the Fields collection of the AddressEntry property on the Recipient object. Here is the syntax:objRecip.AddressEntry.Fields(&H########).ValueFor example, the following code displays the value of Custom Attribute 7 in a message box. (This code assumes the variable objRecip points to a resolved Recipient object on Microsoft Exchange Server.)
For more information and a complete sample how to access properties of
recipients from a Visual Basic application or Visual Basic Script, please
see the following articles in the Microsoft Knowledge Base:
Q179082 HOWTO: Read Address Book Properties from ASP Page with VBScript Extended MAPITo retrieve the property using Extended MAPI, use the IMAPIProp::GetProps() method on the IMailUser object, or the HrGetOneProp() function. You must ensure that the recipient has been resolved to the Microsoft Exchange Server Global Address List.REFERENCESSee the topics "Extension-Attribute-#" (where # is the number of the attribute) in the Microsoft Developer Network Library (MSDN). This topic can be found in the Microsoft Exchange Server Programmer's Reference. Additional query words: ActMsg OleMsg
Keywords : kbAPI kbCDO110 kbCDO120 kbCDO121 kbEDK kbMAPI kbMsg kbEDK500 kbMAPI100 kbGrpMsg |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |