AuthorizationHandlerContext.User 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 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