In Outlook, the Contact has the properties User1, User2, User3 and User4. You need to get their values ​​through EWS, but they are not included in the definition of the Microsoft.Exchange.WebServices.Data.Contact class.

Please tell me their PIDs to extract data through the definitions of these properties. Something I can not find them.

Thank.

    1 answer 1

    https://msdn.microsoft.com/en-us/library/office/cc815885.aspx

    public static ExtendedPropertyDefinition PidLidContactUserField1 = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Address, 0x804F, MapiPropertyType.String); public static ExtendedPropertyDefinition PidLidContactUserField2 = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Address, 0x8050, MapiPropertyType.String); public static ExtendedPropertyDefinition PidLidContactUserField3 = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Address, 0x8051, MapiPropertyType.String); public static ExtendedPropertyDefinition PidLidContactUserField4 = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Address, 0x8052, MapiPropertyType.String);