WebSecurity.IsAuthenticated Property
Gets the authentication status of the current user.
Namespace: WebMatrix.WebData
Assembly: WebMatrix.WebData (in WebMatrix.WebData.dll)
Syntax
'Declaration
Public Shared ReadOnly Property IsAuthenticated As Boolean
Get
'Usage
Dim value As Boolean
value = WebSecurity.IsAuthenticated
public static bool IsAuthenticated { get; }
public:
static property bool IsAuthenticated {
bool get ();
}
static member IsAuthenticated : bool
static function get IsAuthenticated () : boolean
Property Value
Type: System.Boolean
true if the current user is authenticated; otherwise, false. The default is false.