ApiController.User 属性

定义

获取或设置与此请求关联的当前主体。

public System.Security.Principal.IPrincipal User { get; }
member this.User : System.Security.Principal.IPrincipal
Public ReadOnly Property User As IPrincipal

属性值

与此请求关联的当前主体。

适用于