共用方式為


AuthorizationHandlerContext.User 屬性

定義

ClaimsPrincipal 表示目前使用者。

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

屬性值

適用於