CookieValidatePrincipalContext.Principal 属性

定义

包含随请求一起到达的声明主体。 可以进行变更,以更改经过身份验证的用户的详细信息。

public:
 property System::Security::Claims::ClaimsPrincipal ^ Principal { System::Security::Claims::ClaimsPrincipal ^ get(); };
public System.Security.Claims.ClaimsPrincipal Principal { get; }
member this.Principal : System.Security.Claims.ClaimsPrincipal
Public ReadOnly Property Principal As ClaimsPrincipal

属性值

适用于