0
votes

Is it possible to use Impersonation in EWS without using the Managed API?

I read through this page, and it doesn't seem to help.

I want to be able to create events on user's calendars by sending SOAP requests, rather than using the managed API.

1

1 Answers

2
votes

Sure using Impersonation just involves setting the Impersonation SOAP header eg

<soap:Header>
  <t:ExchangeImpersonation>
    <t:ConnectingSID>
      <t:PrimarySmtpAddress>[email protected]</t: PrimarySmtpAddress>
    </t:ConnectingSID>
  </t:ExchangeImpersonation>
</soap:Header>

I would suggest https://msdn.microsoft.com/en-us/library/office/dn722378(v=exchg.150).aspx is a better reference

cheers Glen