HttpContextBase.Profile Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

abstract Profile : ProfileBase with get
override Profile : ProfileBase with 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