The FETCH_USER_ATTRIBUTES action retrieves user attributes from a configured identity provider and makes them available to Studio Modeler workflows and forms.
Use this action to access user profile information such as identifiers, usernames, names, and email addresses without requiring users to enter the information manually. The action queries the configured identity provider using the supplied user identifier. Retrieved attributes can be displayed in forms, used in workflow logic, or referenced by other process activities.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| String | Optional | The email address of the user whose attributes will be retrieved. Example: john.doe@mail.com. | |
| userID | String | Optional | The unique identifier of the user whose attributes will be retrieved. Example: 3c181535. |
| username | String | Optional | The username of the user whose attributes will be retrieved. Example: johndoe. |
These parameters are mutually exclusive. If multiple values are provided, the connector uses the first available value in the following order:
- username
- userID
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| userAttributes | String | Optional | User attributes returned by the identity provider. Only attributes that contain values are returned. Examples include identifier, first name, last name, username, and email address. |