IHttpAuthenticationFeature.User 属性

定义

获取或设置 ClaimsPrincipal 与 HTTP 请求关联的 。

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

属性值

适用于