Syntax
isAnyUserAuthenticated()
Description
Excerpt |
---|
Verifies if there is a logged in user. |
Parameters
...
None
...
Type
...
Required
...
Description
Return type
...
Return type
boolean (true/false)
A true return value means that there is a logged in user.
Example
Example 1
Code Block |
---|
if (isAnyUserAuthenticated()) {
print(currentDate());
} |
This example will print the current date. If there is nobody logged in, the current date will not be printed.
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|