After using Impersonate and specifying an account in the webconfig, is it possible in the actual code to retrive the user information BEFORE the impersonation?
Example
User is Bob
ConfigFile says to impersonate after authentication to the
DatabaseUser.
now i want to get Bob back out in the code.
I've been looking at
System.Security.Principal.WindowsIdentity
not sure if that's the right place to look
any help would be appreciated.
thanks.
Example
User is Bob
ConfigFile says to impersonate after authentication to the
DatabaseUser.
now i want to get Bob back out in the code.
I've been looking at
System.Security.Principal.WindowsIdentity
not sure if that's the right place to look
any help would be appreciated.
thanks.