I've got a process that is started by a Windows Service.
This process is running under the System Account.
In a couple of methods I need to impersonate the logged on user but if I try system.security.principal.windowsidentity.getcurre nt it returns the system account.
How do I get and impersonate the logged on user?
--------------------------------
From: Hugh Garske
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>mSJeVi8qv0K+iH3evH5MrQ==</Id>