> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/area/_listusers.md).

# \_listUsers

Returns the IDs of all Users linked to a requested Area/Location ID as an array.

### Parameters

#### id

The ID of the Area/Location which you intend to gather the User ID data of.

### Example

```
FM_api('Area_listUsers',[
  'id' => '90098'
]);
```

### Results

#### On Success

```
{"ok":1,"user_ids":[92447]}
```

#### On Failure

If the "id" parameter is missing or given a value less than 1:

```
{"error":"missing or invalid parameter: id"}
```
