Get Group Users Node
The Get Group Users node retrieves the users belonging to one or more groups with their selected attributes.
This node is available in: Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined
Node configurations
You can configure whether the operation is allowed for non-admin users by enabling the dedicated flag.
The target groups can be defined in two ways:
- By selecting one group directly.
- By providing a variable containing an array of group identifiers, this option is enabled after switching the dedicated flag "Groups from Variable".
Then defines the number of users returned per page and specifies which user attributes (e.g., username or others) should be included in the response.
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
- Done
- Has Next
- Not Authorised
- Group not found
- No Users
- Failure
JSON metadata
{
"name": "get_group_users",
"active": true,
"bundleName": "am-users-nodes",
"bundleVersion": "1.0",
"nodeName": "GetGroupUsers",
"category": "user_group_management",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "Get Group Users"
}, {
"lang": "it",
"value": "Get Group Users"
}
],
"index": 24,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Done",
"level": "success"
}, {
"name": "HasNext",
"level": "warning"
}, {
"name": "NotAuthorized",
"level": "warning"
}, {
"name": "GroupNotFound",
"level": "warning"
}, {
"name": "NoUsers",
"level": "warning"
}, {
"name": "Failure",
"level": "error"
}
]
}