HttpContextWrapper.User 属性

定义

获取或设置当前 HTTP 请求的安全信息。

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

属性值

IPrincipal

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

适用于