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


## Description

> Macro (excerpt)
> 
> Gets all the inactive accounts ever on the system.

Gets all the users accounts, inactive only. Care should be exercised because it might return a large number of objects.
NOTE: Requires admin token to be set!

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admGetAllInactiveAccounts() | **Package** | adm |
| **Alias** |  | **Pkg Usage** | [use "adm";
allInactiveAccounts();] |

## Return Type

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

## Example

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

Returns all accounts, inactive

## See also

> Macro (contentbylabel)