All Products
Search
Document Center

PolarDB:DBA_ROLE_PRIVS

Last Updated:Mar 28, 2026

DBA_ROLE_PRIVS lists every role granted to every user in the database. Each row represents one role-to-user grant.

Columns

ColumnTypeDescription
granteeTEXTUsername of the user who received the role grant.
granted_roleTEXTName of the role granted to the grantee.
admin_optionTEXTYES if the role was granted with the admin option. NO otherwise.
default_roleTEXTYES if the role is enabled when the grantee creates a session.