Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 4
System.Web.Hosting
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4

Other versions are also available for the following:
.NET Framework Class Library
HostingEnvironment..::.Impersonate Method

Allows code to impersonate a different user.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public methodStatic memberImpersonate()()()Impersonates the user represented by the application identity.
Public methodStatic memberImpersonate(IntPtr)Impersonates the user represented by the specified user token.
Public methodStatic memberImpersonate(IntPtr, String)Impersonates the user specified by the configuration settings for the specified virtual path, or the specified user token.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker