Help Center/ AI DataLake/ Spark reference/ Data Permissions/ Show All Role and User Bindings
Updated on 2026-11-06 GMT+08:00

Show All Role and User Bindings

Function

Displays all users bound to the specified role.

Syntax

SHOW PRINCIPALS ROLE;

Keywords

None.

Precautions

The role name must exist.

Example

SHOW PRINCIPALS role1;