doc-exports/docs/dli/sqlreference/dli_08_0149.html
Su, Xiaomeng 04d4597cf3 dli_sqlreference_0511_version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2023-11-02 14:34:08 +00:00

2.5 KiB

Displaying the Binding Relationship Between All Roles and Users

Function

This statement is used to display the binding relationship between roles and a user in the current database.

Syntax

1
SHOW PRINCIPALS ROLE;

Keyword

None

Precautions

The ROLE variable must exist.

Example

1
SHOW PRINCIPALS role1;