Export (0) Print
Expand All

HostingEnvironment.Impersonate Method

Allows code to impersonate a different user.

Name Description
HostingEnvironment.Impersonate ()
Impersonates the user represented by the application identity.
HostingEnvironment.Impersonate (IntPtr)
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.

Community Additions

ADD
Show:
© 2014 Microsoft