> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# List Users

- Component: `appmixer.slack.list.ListUsers`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.slack 6.0.7](https://connectors.appmixer.com/connector/appmixer.slack/6.0.7.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.slack/6.0.7/component/appmixer.slack.list.ListUsers>

Returns all users of the workspace (paginated internally).

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Output Type (`outputType`) | select | Choose whether you want to receive the result set as one complete list, or one item at a time or stream the items to a file. For large datasets, streaming the rows to a file is the most efficient method. |

## Output ports

### Port `out`

Variables are loaded dynamically from `/component/appmixer/slack/list/ListUsers?outPort=out&ignoreAuth=true`.

## Full metadata (component.json)

```json
{
  "name": "appmixer.slack.list.ListUsers",
  "label": "List Users",
  "author": "Appmixer <info@appmixer.com>",
  "icon": "(data URI omitted)",
  "description": "Returns all users of the workspace (paginated internally).",
  "private": false,
  "quota": {
    "manager": "appmixer:slack:list",
    "resources": "postMessage",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "auth": {
    "service": "appmixer:slack",
    "scope": [
      "users:read"
    ]
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "outputType": {
            "type": "string"
          }
        },
        "required": []
      },
      "inspector": {
        "inputs": {
          "outputType": {
            "type": "select",
            "label": "Output Type",
            "index": 1,
            "defaultValue": "first",
            "tooltip": "Choose whether you want to receive the result set as one complete list, or one item at a time or stream the items to a file. For large datasets, streaming the rows to a file is the most efficient method.",
            "options": [
              {
                "label": "First Found",
                "value": "first"
              },
              {
                "label": "All at once",
                "value": "array"
              },
              {
                "label": "One at a time",
                "value": "object"
              },
              {
                "label": "File",
                "value": "file"
              }
            ]
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "source": {
        "url": "/component/appmixer/slack/list/ListUsers?outPort=out&ignoreAuth=true",
        "data": {
          "properties": {
            "generateOutputPortOptions": true
          },
          "messages": {
            "in/outputType": "inputs/in/outputType"
          }
        }
      }
    }
  ]
}
```
