HttpRequestBase.LogonUserIdentity 属性

定义

在派生类中重写时,获取当前用户的 WindowsIdentity 类型。When overridden in a derived class, gets the WindowsIdentity type for the current user.

public:
 virtual property System::Security::Principal::WindowsIdentity ^ LogonUserIdentity { System::Security::Principal::WindowsIdentity ^ get(); };
public virtual System.Security.Principal.WindowsIdentity LogonUserIdentity { get; }
member this.LogonUserIdentity : System.Security.Principal.WindowsIdentity
Public Overridable ReadOnly Property LogonUserIdentity As WindowsIdentity

属性值

WindowsIdentity

当前用户的标识。The identity for the current user.

例外

始终。Always.

适用于