Get User Groups node
The Get User Groups node retrieves all the groups associated with the bound user in IO. It allows you to fetch the user's group memberships and make them available for subsequent nodes in the flow.
This node is available in: Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined
Node configurations
This section allows you to configure how the user is identified.
Username
You can bind the user either by username or by a specific attribute. The corresponding value must be specified (e.g. {{form.username}}).
An additional Ignore case option is available.
Attributes can be saved into a variable for reuse by other nodes. See Common Configurations for details.
Default output node
- Success
- No Groups
- Failure
JSON metadata
{
"name": "get_user_groups",
"active": true,
"bundleName": "am-users-nodes",
"bundleVersion": "1.0",
"nodeName": "GetUserGroups",
"category": "user_group_management",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "Get User Groups"
}, {
"lang": "it",
"value": "Get User Groups"
}
],
"index": 23,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "NoGroups",
"level": "warning"
}, {
"name": "Failure",
"level": "error"
}
]
}