Read all Calendars with EWS Managed API

Hello,

I'm developing my application with EWS Managed API 2.2 https://msdn.microsoft.com/en-us/library/office/dn567668%28v=exchg.150%29.aspx.

I need to read Calendars of every user in Active Directory linked in Exchange 2013.

I Can read only calendar of logged user but not other.

oService.Credentials = New Microsoft.Exchange.WebServices.Data.WebCredentials(System.Net.CredentialCache.DefaultNetworkCredentials)
System.Net.CredentialCache.DefaultNetworkCredentials = Logged User

Thanks!

September 10th, 2015 3:29am

Take a look at impersonation: https://msdn.microsoft.com/EN-US/library/office/dn722377(v=exchg.150).aspx. Setting this up would allow your app to read each user's mailbox.
  • Marked as answer by magozeta 15 hours 45 minutes ago
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 11:09am

Ok Thanks!
September 10th, 2015 11:37am

Take a look at impersonation: https://msdn.microsoft.com/EN-US/library/office/dn722377(v=exchg.150).aspx. Setting this up would allow your app to read each user's mailbox.
  • Marked as answer by magozeta Thursday, September 10, 2015 3:37 PM
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 3:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics