Posted on: 4/22/2011 9:49:31 AM | Views : 291

We have to impersonate the IIS/ASP.NET worker process as a domain user account, we do so in the Page_Load event. However, we found out that after the page has post-backed, the impersonation is rolled back (System.Security.Principal.WindowsIdentity.GetCurrent().Name becomes NETWORK SERVICE again)   We need to know if it is expected behaviour of the impersonation in ASP.NET, so that we can decide how our framework/library code should be written. ...

Go to the complete details ...