Sep 10, 2007
0
0
Impersonation and Hosting PowerShell
Some of you reported that Impersonation doesn’t work while hosting PowerShell in ASP.net applications. The problem occurs when PowerShell's pipeline is invoked in the following way from an ASP.NET application: WindowsIdentity winId = (WindowsIdentity)HttpContext.Current.User.Identity;...