Gets or sets the thread's current principal (for role-based security).
Syntax
Value
An object implementing System.Security.Principal.IPrincipal which encapsulates information about the principal which the thread is executing on behalf of.
Remarks
Requirements
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0