by Eugene Rosenfeld | Aug 10, 2009 | .Net, C#, Impersonation
I do a lot of server programming. I frequently need to be able to run some code as a different user than the currently logged-in user. Unfortunately, the .Net Framework does not make this particularly easy. Sure, there is the WindowsIdentity class and its Impersonate...