The system table ROLEPRIVILEGES describes the privileges and roles that are granted to roles for which the current user has privileges.
ROLEPRIVILEGES
OWNER |
CHAR(32) |
Name of the owner of the object that was granted for the role |
TABLENAME |
CHAR(32) |
Name of the table for which privileges were granted for the role |
ROLE |
CHAR(32) |
Name of the role that was granted |
GRANTEE |
CHAR(32) |
Name of the role to which has been granted |
PRIVILEGES |
CHAR(30) |
Privileges that were granted |
GRANTOR |
CHAR(32) |
Name of the user who granted the privileges or the role |
CREATEDATE |
DATE(10) |
Date when the privileges were granted |
CREATETIME |
TIME(8) |
Time when the privileges were granted |
See also:
Evaluating System Tables ® ROLEPRIVILEGES