Displaying a Role

Function

This statement is used to display all roles or roles bound to the user_name in the current database.

Syntax

1
SHOW [ALL] ROLES [user_name];

Keywords

ALL: Displays all roles.

Precautions

Keywords ALL and user_name cannot coexist.

Example