Reputation: 21
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?
Upvotes: 1
Views: 640
Reputation: 3465
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,
Upvotes: 1