title: Creating an Outlook application/mail item without administrator right using a C# application that has administrator privilage
body: <p>I have written a C# code that needs to have administrator right. Using this application, I am trying to create an Outlook application/mail item in order to open an outlook compose window. However, Outlook 2013 is already running without administrator right. I am using the following code, but since the created application/mail item and the already running instance of outlook have different privileges, it raises exception. </p>
  
  <pre><code>Microsoft.Office.Interop.Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application();
  Microsoft.Office.Interop.Outlook.MailItem mailItem = app.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem);
  </code></pre>
  
  <p><strong>Is there anyway to create the application/mail item as current user instead of administrator (something similar to running a process as current user by providing username and password of the current user)?</strong></p>
  
  <p>Outlook needs to be running without administrator right in order to have a functional indexing service.</p>
  
  <p>Here is the exception details:</p>
  
  <pre><code>System.Runtime.InteropServices.COMException was unhandled
  HResult=-2146959355
  Message=Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
  Source=mscorlib
  ErrorCode=-2146959355
  </code></pre>