HttpRequest::LogonUserIdentity Property
Gets the WindowsIdentity type for the current user.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Security.Principal::WindowsIdentityA WindowsIdentity for the current Microsoft Internet Information Services (IIS) authentication settings.
The LogonUserIdentity property exposes the properties and methods of the WindowsIdentity object for the currently connected user to Microsoft Internet Information Services (IIS). The instance of the WindowsIdentity class that is exposed by LogonUserIdentity tracks the IIS request token and provides easy access to this token for the current HTTP request being processed inside of ASP.NET. An instance of the WindowsIdentity class is automatically created so it does not need to be constructed to in order to gain access to its methods and properties.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: Demand; Permission value: Medium.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.