---
title: "getUsersFromOrganizations (Power Scripts)"
canonical: "https://support.appfire.com/space/PSJ/15483943/getUsersFromOrganizations%20(Power%20Scripts)"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getUsersFromOrganizations(organizations) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Gets users from a specified organization or list of organizations.

Gets users from a specified organization or list of organizations.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| organizations | String [] | Yes | The organizations names. |

## Return Type

**String []**

Returns all the users from an organization.

## Examples

### Example 1

```
return getUsersFromOrganizations({"First Organization", "Second Organization"});
```

### Example 2

```
return getUsersFromOrganizations("My Organization");
```

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)