HttpContextBase.Profile Property

Definition

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

public virtual System.Web.Profile.ProfileBase Profile { get; }

Property Value

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.

Exceptions

Applies to

제품 버전
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1