PrincipalContext<TOptions>.Principal 属性

定义

获取 ClaimsPrincipal 包含用户声明的 。

public:
 virtual property System::Security::Claims::ClaimsPrincipal ^ Principal { System::Security::Claims::ClaimsPrincipal ^ get(); void set(System::Security::Claims::ClaimsPrincipal ^ value); };
public virtual System.Security.Claims.ClaimsPrincipal Principal { get; set; }
public virtual System.Security.Claims.ClaimsPrincipal? Principal { get; set; }
member this.Principal : System.Security.Claims.ClaimsPrincipal with get, set
Public Overridable Property Principal As ClaimsPrincipal

属性值

适用于