Skip to content

Role of user

Available since: 1.0.0

Checks, whether a given user account has a given role.


User account

The ID of an account or a token with a stored account entity.

User role

The user role to check, like editor or administrator.
When using the "Defined by token" option, make sure there is a token with this name: eca_user_role_role

Negate the condition

Negates the condition. Makes TRUE to FALSE and vice versa.