List Users in Role

The List Users recipe can be used to list users in a specific role and output the result in various formats such as:

  • Pure text
  • CSV
  • JSON
  • XML

You can execute the recipe in the chat by writing /recipe list-users-in-role or through the recipe tab, finding the "List IAM users in a specific role" item, and pressing play.

After execution, the recipe will list the available roles:

Available roles

When you enter a role with users, you can choose a format for the output:

Choose format

After choosing a format, BAIA will list all users:

Users listed

Here is a video showing the full process:

List users in roles