Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebThreadInformation.IsImpersonating Property

Gets the current thread-impersonation mode.

Namespace:  System.Web.Management
Assembly:  System.Web (in System.Web.dll)

member IsImpersonating : bool with get

Property Value

Type: System.Boolean
true if the thread is executing in impersonation mode; otherwise, false.

The following code example shows how to get the thread-impersonation mode.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft