Red Mars Consulting – Blog Providing ICT solutions

27Feb/130

Configuring Exchange 2007 Impersonation (Exchange Web Services)

Exchange 2007 and 2010 differ in how to configure Impersonation to allow users to send as other users via EWS.
This link is the 2007 way:
http://msdn.microsoft.com/en-us/library/exchange/bb204095(v=exchg.80).aspx
This link is the 2010 way:
http://msdn.microsoft.com/library/bb204095.aspx

The user to give impersonation rights to is the user id the application or service is being run with, not the primary mailbox used to connect to the Exchange service.

14Apr/110

Need low level access in C#? Pinvoke.net saves the day

I was recently needing access to an unimplemented win32 api function call. This can be achieved by using the .NET frameworks PInvoke (Platform Invoke) function. The problem is getting the declarations correct for the particular call. That's where Pinvoke.net comes to the rescue. Find your function, copy and paste, job done.