共用方式為


SecurityStampRefreshingPrincipalContext.CurrentPrincipal 屬性

定義

包含在目前 Cookie 中的主體。

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

屬性值

適用於