简体   繁体   中英

How do I get access to a user's calendar?

How do I get access to a user's calendar via EWS?

Using EWS 2.0, Exchange2010_SP1

My program should connect to an Exchange server and synchronize all calendar appointments with a separate database. For this issue a "power user" was created. He can see all the shared calendars of target users. I use exchangeService.SyncFolderItems to synchronize appointmets of the default user, but how can I access to all other users calendar to synchronize appointments?

You should use Exchange Impersonation to allow your power user to "act as" the other users. You'll set the exchangeService.ImpersonatedUserId property each time you need to impersonate a user.

With regards,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM