Get item creator via script?

  • Thread starter Thread starter Anita Gupta
  • Start date Start date
A

Anita Gupta

Hi,

I need to loop through a folder of Journal Items and add a note to the Body
field of the associated contact for the Journal item. I can get the contact
and add the note just fine. The problem is that I need to know the name of
the user that created the Journal item. I don't see a property of the
Journal item that tells me who created the item. In a custom view of the
folder, I can use the "ChangedBy" property (listed under All Mail Fields) or
the "Organizer" (listed under Appointment Fields). However, I need the
PR_Creator property for the Journal item. I don't know at all how to use
MAPI. Can somebody please give me a quick example of how to use this
property while looping through a Journal folder to retrieve the name of the
user who created the Journal item?

Thank You very much!

Anita
 
The primer at http://www.cdolive.com/cdo10.htm gives the essentials for using CDO to use MAPI property tags to access properties that Outlook doesn't expose.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top