Retrieve User Roles Node
| Description | The Retrieve User Roles node retrieves all the roles associated with the bound user. It returns the list of roles assigned to the user, which can be used in subsequent steps of the flow. |
| Available in | Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined |
| Node Name | Retrieve User Roles |
User Binding Configurations
User Binding Configurations
This section allows you to configure **how the user is bound to the session**. ### Username You can bind the user either by **username** or by a specific **attribute**. In both cases, the corresponding value must be specified (can use a variable from the form node, e.g `{{form.username}}`). An additional **Ignore case option** is available to perform the binding without considering letter case differences.Save in the Flow store
Save in the Flow store
Attributes generated or retrieved from the node can be saved **into a variable**. They can then be **reused by other nodes** in the flow by referencing them as `{{variable.attribute}}`. To do this you choose attributes that need to be stored in the variable, and in the flow store (All attributes exposed by the node are listed in a **multi-select dropdown**, allowing the user to choose **one or more** of them), then a **variable name** that can be **freely defined** by the user. There is also a flag to make the variable available to the **frontend**.Default Output Node
- Success
- User not found
- Failure