Docs
Visit Sundeck.io

role

The value of the user role upon query submission.

Syntax

  ROLE

Returns

The identifier value of the user’s role at time of query submission.

Usage Notes

  • The comparison to a ROLE should be a quoted or unquoted identifier. ROLE is not a string.
  • This is only the submission ROLE. It does not consider granted transitive roles.

Examples

ROLE = "ACCOUNT_ADMIN"
ROLE <> "PUBLIC"