Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ClaimsPrincipal::Current Property

.NET Framework (current version)
 

Gets the current claims principal.

Namespace:   System.Security.Claims
Assembly:  mscorlib (in mscorlib.dll)

public:
property ClaimsPrincipal^ Current {
	static ClaimsPrincipal^ get();
}

Property Value

Type: System.Security.Claims::ClaimsPrincipal^

The current claims principal.

By default, Thread::CurrentPrincipal is returned. You can change this behavior by setting the ClaimsPrincipalSelector property to specify a delegate to be called to determine the current principal.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft