June 2003
Intermediate to advanced
800 pages
34h 20m
English
You want to impersonate the Internet Information Services (IIS) authenticated user in your Web page or Web service code.
Retrieve a WindowsIdentity object that represents the authenticated user from the built-in User object. You can use this identity to perform impersonation with the WindowsIdentity.Impersonate method.
In an ASP.NET application, all code runs under a special worker or local system account that has the necessary privileges for running Web page and Web service code. In some situations, however, it might be useful to run part of the application logic under a user-specific account. For example, if you have a file-lookup service, you might want to use Windows access control ...
Read now
Unlock full access