Gets the profile for the current user.

Namespace:  EPiServer.Personalization
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public static EPiServerProfile Current { get; }

Field Value

The EPiServerProfile object.

Remarks

Pulls the current profile from ASP.NET, but will throw exceptions if profiles are not enabled or if the profile is of the wrong type.

See Also