HttpContextBase.User 属性

定义

当在派生类中重写时,获取或设置当前 HTTP 请求的安全信息。

public:
 virtual property System::Security::Principal::IPrincipal ^ User { System::Security::Principal::IPrincipal ^ get(); void set(System::Security::Principal::IPrincipal ^ value); };
public virtual System.Security.Principal.IPrincipal User { get; set; }
member this.User : System.Security.Principal.IPrincipal with get, set
Public Overridable Property User As IPrincipal

属性值

IPrincipal

一个对象,它包含当前 HTTP 请求的安全信息。

例外

适用于