title: Get all user's data from Exchange Server 2010
body: <p>I'm trying to develop a application for syncing calendars &amp; contacts to another system. The application is written in C#, but I don't understand how I can get all user's calendars and contacts, without knowing each one's credentials. The application shouldn't poll the information, but send it to my application like an event.</p>
  
  <p>I already searched on MS sites, downloaded the 'Exchange 2013 101 Code Samples' ans successfully wrote a script which sends an e-mail to another user, but the authentification only worked with user credentials.</p>
  
  <p>Is it possible to create a 'master' user who can read all calendars and contacts of a given list of users?
  Can ExchangeServer call my application and send the information (e.g. with SOAP), or do I have to poll?</p>
  
  <hr>
  
  <p>UPDATE:</p>
  
  <p>I created a user who has full permission on everything, but I don't know how to read the data from the server, because the calendar of the 'master' user is empty. When I visit OWA and choose to take an impersonate look into someone's calendar I can see the appointments.</p>
  
  <p>Code for permissions:</p>
  
  <pre><code>Get-Mailboxdatabase | Add-ADPermission -AccessRights ExtendedRight -ExtendedRights Receive-As, Send-As -User "&lt;SuperAccount&gt;"
  </code></pre>
  
  <p>And this one shares the calendar:</p>
  
  <pre><code>Add-MailboxFolderPermission –Identity &lt;MailboxFolderId&gt;:\Calendar -AccessRight ReadItems -User &lt;SuperAccount&gt;
  </code></pre>
  
  <p>How can I get the calendar of a user with my master-user?</p>