---
title: "isUserActive"
canonical: "https://support.appfire.com/space/PSJ/15485537/isUserActive"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | isUserActive(user) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Checks to see if the given user has an active (licensed) account.

Checks to see if the given user has an active (licensed) account.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| User | String | Yes | Username of user to check account status for. |

## Return Type

**Boolean (true/false)**

Returns "true" if the user is active and "false" otherwise.

## Example

```
return isUserActive("jsmith");
```

## See also

> Macro (contentbylabel)