AuthorizationContext.Principal Property

.NET Framework (current version)
 

Gets the principal (subject) for which authorization is being requested.

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

public ClaimsPrincipal Principal { get; }

Property Value

Type: System.Security.Claims.ClaimsPrincipal

The principal for which authorization is being requested.

.NET Framework
Available since 4.5
Return to top
Show: