How to determine if the current outlook user is the creator(organizer) of a given appointment

Add-in Express™ Support Service
That's what is more important than anything else

How to determine if the current outlook user is the creator(organizer) of a given appointment
 
Horatiu Muresan




Posts: 26
Joined: 2016-04-28
Hello,

Can you please recommend the best way to find out if an appointment item is opened(in an inspector) or edited(eg drag& drop) by the appointment creator? I did not find a reliable way. I have a routine executed when the creator of the appointment edits it, and I want it to be prevented for when a participant/normal recipient edits it(accept or decline meeting seems to trigger an item changed event).

What I tried is getting the organizer recipient object, and compare the entry id with the entry id of the CurrentUser property, but they are not identical.

Did not find a reliable way to do this.

Thank you!

Regards from Romania(GMT+2),
Horatiu
Posted 15 Dec, 2016 07:21:36 Top
Andrei Smolin


Add-in Express team


Posts: 14138
Joined: 2006-05-11
Hello Horatiu,

For me, the organizer user is missing in the AppointmentItem.Recipients collection if the organizer user opens/selects the AppointmentItem.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Dec, 2016 10:40:45 Top