Skip to content

Get User Roles Node

Utils/User

Gets the project role assigned to a user.

utils_user_get_user_rolesstd
Inputs2
Outputs5
Security exposure8/10
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
8/10High
PrivacyPotential sensitivity of processed data.
6/10Medium
PerformanceRuntime or resource pressure.
6/10Medium
GovernancePolicy, audit, or compliance impact.
8/10High
ReliabilityOperational stability considerations.
7/10High
CostExternal or compute cost impact.
9/10High

Input Pins

2

App ID

String
app_id

Project/app ID. Leave empty to use the current execution app.

User ID

String
user_id

User subject / user ID within the project.

Output Pins

5

User Roles

Struct
user_roles

Role assignment for the project user. Current projects have one role per user.

UserRolesUserRoles4 fields
userUserRefrequired
user_idstringrequired
substringrequired
emailstring | null
usernamestring | null
preferred_usernamestring | null
+4 more fields
roleanyOf (2)
variant 1ProjectRolevariant
idstringrequired
namestringrequired
descriptionstring | null
attributesarray | null
itemsstringarray item
permissionsinteger:int64required
format int64
+3 more fields
variant 2nullvariant
rolesArray<ProjectRole>required
itemsProjectRolearray item
idstringrequired
namestringrequired
descriptionstring | null
attributesarray | null
itemsstringarray item
permissionsinteger:int64required
format int64
+3 more fields
role_idsArray<string>required
itemsstringarray item
Schema enforced

Found

Boolean
found

True when the user was found.

Success

Boolean
success

True when the read operation completed successfully.

Status Code

Integer
status_code

HTTP status code returned by the hub, or 0 if no request was made.

Error

String
error

Error message when the read operation could not complete.

Node Info

Internal name
utils_user_get_user_roles
Category
Utils/User