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

属性值

适用于