Skip to content

ALL_ACLS

功能描述

all_acls系统视图用于管理数据库用户访问控制信息。

字段说明

字段名类型说明
DB_IDINTEGER库ID
GRANTOR_IDINTEGER授权者ID
GRANTEE_IDINTEGER被授权者ID
OBJECT_IDINTEGER授权客体ID
OBJECT_TYPEINTEGER授权客体类型
AUTHORITYBIGINT权限值
REGRANTBIGINT转授权
ORG_GRANTOR_IDINTEGER权限原始拥有者ID
IS_SYSBOOLEAN是否系统内建
RESERVED1CHAR(-1)保留字段
RESERVED2CHAR(128)保留字段
RESERVED3CHAR(128)保留字段

示例

查询权限授予信息

sql
SQL> SELECT object_id,object_type,authority,regrant,org_grantor_id FROM all_acls;

OBJECT_ID | OBJECT_TYPE | AUTHORITY | REGRANT | ORG_GRANTOR_ID |
------------------------------------------------------------------------------
0 | 0 | 8388607 | 0 | -1 |
0 | 0 | 3221225472 | 0 | -1 |
0 | 0 | 805306368 | 0 | -1 |
0 | 0 | 1073741824 | 0 | -1 |
0 | 0 | 268435456 | 0 | -1 |
0 | 0 | 8388607 | 0 | -1 |
0 | 0 | 3221225472 | 0 | -1 |
0 | 0 | 805306368 | 0 | -1 |
0 | 0 | 1073741824 | 0 | -1 |
0 | 0 | 268435456 | 0 | -1 |

相关系统表

  • sys_users
  • sys_role_members