Oracle 视图 DBA_USED_SYSPRIVS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_USED_SYSPRIVS用于查询每个用户已使用的系统特权,以及它们可以执行的特定操作,这些操作比用户拥有的表和索引细分程度更高。
此信息可用于更有效地控制表和列级安全性、特定操作和批处理进程。
使用方法:
1. 链接到Oracle服务器
2. 运行以下查询,显示某个用户已使用过的系统特权和对应的资源:
SELECT *
FROM DBA_USED_SYSPRIVS
WHERE GRANTEE = ‘username’;
3. 在返回值中,查看每个PRIVILEGE和RESOURCE找到已使用的特殊特权及它们之间的关系。
官方英文解释
DBA_USED_SYSPRIVS
lists the system privileges (without privilege grant paths) that are used for the privilege analysis policies reported by the DBMS_PRIVILEGE_CAPTURE.GENERATE_RESULT
procedure.
This view provides access to analyzed privilege records in SYS
tables.
You must have the CAPTURE_ADMIN
role to access this view.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
| Name of a privilege analysis policy |
|
|
| The sequence number of the privilege analysis run during which the privilege was used |
|
| Operating system login username | |
|
| Client host machine name | |
|
| Module name | |
|
|
| Name of the user whose privilege was reported |
|
| Used role | |
|
| Used system privilege | |
|
| Indicates whether the
| |
|
| The name of the run during which the privilege was reported |
See Also:
“DBA_USED_SYSPRIVS_PATH” for privilege grant path information for used system privileges
Oracle Database Security
Guide for more information about privilege analysisOracle Database PL/SQL
Packages and Types Reference for more information about theDBMS_PRIVILEGE_CAPTURE.GENERATE_RESULT
procedure
编辑:编程语言
标签:特权,操作,用户,系统,批处理