Gets or sets the user profile for the current request.
Assembly: System.Web (in System.Web.dll)
You can use the property during the Personalize event to specify a custom user profile. If, when the Personalize event completes, the ProfileEventArgs parameter of the ProfileEventHandler has its property set to a value that’s not nullptr, then the ProfileModule uses the value of the property in the current HttpContext.
The ProfileModule does not set the property for the Personalize event. The ProfileModule only gets the value of the property when the code in the Personalize event completes. If the property is not explicitly set by application code during the Personalize event, the property value will be nullptr.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.