Skip to content

Get Executing User Node

Utils/User

Get Executing User

Gets the user context of the current execution. Returns a typed struct containing sub (user ID), role, permissions, attributes, and technical user info. Use 'Break Struct' to access individual fields.

utils_user_get_executing_userstd
Inputs0
Outputs2
Security exposure2/10
Packagestd

Ratings

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

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

Input Pins

0

No input pins.

Output Pins

2

User Context

Struct
user_context

The complete user execution context. Use 'Break Struct' to access: sub, role (with id, name, permissions, attributes), is_technical_user, key_id

UserExecutionContextUserExecutionContext4 fields
substringrequired

User subject identifier (e.g., OIDC sub claim) Empty for technical users (API keys)

roleanyOf (2)

Role information

variant 1RoleContextvariant

Role context containing role metadata and permissions

idstringrequired

Role ID

namestringrequired

Role name

permissionsinteger:int64required

Role permissions as a bitfield

format int64
attributesArray<string>required

Custom attributes assigned to the role

itemsstringarray item
customAttributesMap<string, string>

Custom key-value attributes that can be set by users

default {}
*stringmap value
variant 2nullvariant
isTechnicalUserboolean

Whether this is a technical user (API key) rather than a human user

default false
keyIdstring | null

For technical users, the API key identifier

default null
Schema enforced

Has User

Boolean
has_user

True if user context is available

Node Info

Internal name
utils_user_get_executing_user
Category
Utils/User