WebSecurity.IsAuthenticated Property

Definition

Gets the authentication status of the current user.

public static bool IsAuthenticated { get; }
member this.IsAuthenticated : bool
Public Shared ReadOnly Property IsAuthenticated As Boolean

Property Value

true if the current user is authenticated; otherwise, false. The default is false.

Applies to