Gets a value indicating whether profiles are enabled and there is a current profile record.

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

Syntax

C#
public static bool Enabled { get; }

Field Value

true if enabled; otherwise, false.

Remarks

If this property returns true, then a call to EPiServerProfile.Current will not throw an exception.

See Also