HttpContextBase.Profile Property


When overridden in a derived class, gets the ProfileBase object for the current user profile.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual ProfileBase Profile { get; }

Property Value

Type: System.Web.Profile.ProfileBase

If the profile properties are defined in the application configuration file and profiles are enabled for the application, an object that represents the current user profile; otherwise, null.

Exception Condition


.NET Framework
Available since 3.5
Return to top