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

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

## Description

> Macro (excerpt)
> 
> Routine that verifies if a user is active.

Routine that verifies if a user is active.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | userNameOrKey | String | Yes | User name or key of a user to remove from a group. |

## Return Type

**Boolean (true/false)**

Returns true if a user was successfully removed from a group. Otherwise returns false.

## Example

```javascript
isUserActive("jdoe");
```

Returns true if the user is active.

## See also

> Macro (contentbylabel)