---
title: "Use Confluence user names as list options"
canonical: "https://support.appfire.com/space/SCAFS/477598877/Use%20Confluence%20user%20names%20as%20list%20options"
format: markdown
---
> Macro (aura-html)

## Overview

Let's create a form where you can use pull-down menus or list boxes to select certain users. The list of users in the pull-down menu or list box are taken from Confluence user groups.

## Ingredients

| Apps | Scaffolding |
| --- | --- |
| Macros | List Data, User Options |

## Guide

1. Create a table as shown:
2. Using the [List Data](https://appfire.atlassian.net/wiki/spaces/SCAFS/pages/477600000) and [User Options](https://appfire.atlassian.net/wiki/spaces/SCAFS/pages/477600103) macros, fill in the table as shown in the following image:
3. Edit each [List Data](https://appfire.atlassian.net/wiki/spaces/SCAFS/pages/477600000) macro and give them relevant names.

> ✅ You can select the **Allow Multiple** checkbox to display the [List Data](https://appfire.atlassian.net/wiki/spaces/SCAFS/pages/477600000) with names as a dropdown menu or list box.

4. Edit each [User Options](https://appfire.atlassian.net/wiki/spaces/SCAFS/pages/477600103) macro and specify in the parameters which users you want to display.

> ✅ You can display users according to groups, spaces, or by their specific usernames.

5. Save the page.  
You created a table with options populated by users from your Confluence user groups.

6. Click **Edit Contents** to fill in the table using the pull-down menus or list boxes you created.

## Notes

Only users with the required access to the specified spaces will be listed.

Permissions can be specified for each space. You can use `@self` as the space key for the current space.

For example:

- `<SPACEKEY>:view` (default permission) - only users with view access to the space are listed
- `<SPACEKEY>:edit` - only users with edit access to the space are listed
- `<SPACEKEY>:admin` - only users with administrative access to the space are listed
- `<SPACEKEY>:blog` - only users who can post a blog (a.k.a. News) message are listed

## Result

![image](media://ebc655de-a27b-4e41-af13-5e2b9ebfba52)