the appointment.Id.UniqueID changed

我与影子孤独终老i 提交于 2019-12-11 13:43:40

问题


I created an appointment, the appointment room is test_room1@aa.com, and I impersonate the user is jack@aa.com.

but when I FindAppointments from jack@aa.com, the ID is A. when I FindAppointments from room test_room1@aa.com. the ID is B.

Why the ID is different?

I use jack@aa.com make an appointment, and saved appointment.ID.UniqueId to database. but I need show AllBookings in system, so I have to get appointments by room. but same appointment ID is different, I can't make it relative with my database.


回答1:


The Id your referring to is the EWSId which is unique for every item in the Exchange Store. Even though its the same appointment in each mailbox it's physically a separate object in the Exchange Store so hence has a different EWSId see http://technet.microsoft.com/en-us/library/bb123495%28v=exchg.141%29.aspx. If you working with appointment identifiers then i would suggest you use PidLidCleanGlobalObjectId http://msdn.microsoft.com/en-us/library/office/cc839502%28v=office.15%29.aspx . You can use that property to find both the meeting in any of the Attendee's calendar and also any response, invitations messages.

Cheers Glen



来源:https://stackoverflow.com/questions/27996753/the-appointment-id-uniqueid-changed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!