WebThreadInformation::IsImpersonating Property

 

Gets the current thread-impersonation mode.

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

public:
property bool IsImpersonating {
	bool 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
Available since 2.0
Return to top
Show: