URGENT - PR_LAST_MODIFIER_NAME

J

Jason Smyth

I have COM Addin that traps the adding or changing of appointments in
a user mailbox.

I need to know how to capture the last modifier of an item?

I know I can capture an Outlook item, convert it to a CDO item, and
retrieve the field: PR_LAST_MODIFIER_NAME. What I need to know is
this...

I will have scenario's where a user has delegate or ownership right to
other mailboxes other than their own. If the logged on user modifies
an item in another mailbox they have access to, what value should be
returned in PR_LAST_MODIFIER_NAME?

I would hope it is the logged on user, and not the mailbox user for
where the item actually resides? Does anybody know what
PR_LAST_MODIFIER_NAME returns in this scenario?

Jason Smyth
 
S

Sue Mosher [MVP]

You should be able to test this for yourself. I did and found that the mailbox name is the one that's used, not the name of the person making the change. Sounds like you might want to add code to your add-in to store the current user's name somewhere in the item.

--
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

Top