HttpContext.User 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置此请求的用户。
public:
abstract property System::Security::Claims::ClaimsPrincipal ^ User { System::Security::Claims::ClaimsPrincipal ^ get(); void set(System::Security::Claims::ClaimsPrincipal ^ value); };
public abstract System.Security.Claims.ClaimsPrincipal User { get; set; }
member this.User : System.Security.Claims.ClaimsPrincipal with get, set
Public MustOverride Property User As ClaimsPrincipal