---
title: "getAllUsers"
canonical: "https://support.appfire.com/space/PSJC/720473863/getAllUsers"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Gets all the users. Active accounts only

Gets all the users. Active accounts only. Care should be exercised because it might return a large number of objects.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getAllUsers() | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Return Type

**[JUser []](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/435028065)**

## Example

```javascript
JUser [] users = getAllUsers();
```

Returns all active accounts

## See also

> Macro (contentbylabel)