Checks if the user is authenticated, taking care of the fact that the HttpContext.Current may not be valid at the time check is performed.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static bool IsAuthenticated() |
Visual Basic |
---|
Public Shared Function IsAuthenticated As Boolean |
Visual C++ |
---|
public:
static bool IsAuthenticated() |
F# |
---|
static member IsAuthenticated : unit -> bool
|
Return Value
Type:
BooleanTrue if the current user is authenticated, false otherwise.
See Also