---
title: "gadget_getMultiUserPickerValue"
canonical: "https://support.appfire.com/space/PSJ/15480267/gadget_getMultiUserPickerValue"
format: markdown
---
> Macro (aura-html)


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | gadget_getMultiUserPickerValue(argv, label) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Retrieves the value from a multi user picker.

Retrieves the value from a multi user picker.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| argv | String [] | Yes | The argv variable |
| label | String | Yes | The label of the multi user picker |

## Return Type

**String []**

## Example

Assume we have the following script that creates a multi user picker:

```
gadget_createMultiUserPicker("MultiUserPicker", {"admin", "demouser"}, true, "Required Multi User Picker");
```

in order to retrieve the values entered in the field above we need to use the **gadget_getMultiUserPicker** function as follows:

```
string[] res = gadget_getMultiUserPickerValue(argv, "MultiUserPicker");
//res[0] = admin
//res[1] = demouser
//The function has returned in this case an array of two strings, "admin" and "demouser".
```

## See also

> Macro (contentbylabel)

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