WindowsImpersonationContext

  • Thread starter Thread starter Sorin Sandu
  • Start date Start date
S

Sorin Sandu

This code is valid only for current page ?
WindowsIdentity newId = new WindowsIdentity(dupeTokenHandle);
WindowsImpersonationContext impersonatedUser = newId.Impersonate();
After I impersonate current user and Response.Redirect to another page there
WindowsIdentity is changed to user before Impersonate.
Is it normal ?
How can I do to maintain Impersonation to all my pages ?
 
Back
Top