This documentation is archived and is not being maintained.
.NET Framework 2.0
Allows code to impersonate a different user.
Impersonates the user represented by the application identity.
Impersonates the user represented by the specified user token.
|HostingEnvironment.Impersonate (IntPtr, String)||
Impersonates the user specified by the configuration settings for the specified virtual path, or the specified user token.