Sep 10, 2007
Post comments count0
Post likes count0
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;...