The system table TABLEPRIVILEGES describes the privileges that the current user has for tables.
TABLEPRIVILEGES
OWNER |
CHAR(32) |
Name of table owner |
TABLENAME |
CHAR(32) |
Name of the table |
GRANTOR |
CHAR(32) |
Name of the user who granted the privileges |
GRANTEE |
CHAR(32) |
Name of the user or the role that was granted the privilege |
PRIVILEGES |
CHAR(30) |
Privileges that were granted |
IS_GRANTABLE |
CHAR(3) |
Privilege to grant the received privilege to another user/role (YES | NO) |
See also:
Evaluating System Tables ® TABLEPRIVILEGES