---
title: "isAnyUserAuthenticated"
canonical: "https://support.appfire.com/space/PSCONF/15303033/isAnyUserAuthenticated"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | isAnyUserAuthenticated() | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Verifies if there is a logged in user.

Verifies if there is a logged in user.

## Return Type

**Boolean (true/false)**

A true returned value means that there is a logged in user.

## Example

```javascript
if (isAnyUserAuthenticated()) {
    print(currentDate());
}
```

## See also

> Macro (contentbylabel)