locked
Read all Calendars with EWS Managed API RRS feed

  • Question

  • 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!

    Thursday, September 10, 2015 7:28 AM

Answers

  • 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
    Thursday, September 10, 2015 3:09 PM

All replies

  • 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
    Thursday, September 10, 2015 3:09 PM
  • Ok Thanks!
    Thursday, September 10, 2015 3:37 PM