Oracle 视图 DBA_USED_OBJPRIVS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_USED_OBJPRIVS声明了为用户授予的对象特权。它确定该特权是否在释放和/或使用后被使用。只有系统管理员有权访问该视图。
使用DBA_USED_OBJPRIVS视图可以查询某个用户授予的特权,及其是否被使用了。可以使用以下查询:
SELECT grantor, grantee, privilege, is_used
FROM DBA_USED_OBJPRIVS
WHERE grantee = ‘username’;
该查询将返回执行的某个用户的授予的所有特权,以及特权是否被真正使用。
官方英文解释
DBA_USED_OBJPRIVS
lists the object 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 the privilege analysis policy |
|
|
| The sequence number of the privilege analysis run during which the privilege was reported |
|
| Operating system login username | |
|
| Client host machine name | |
|
| Module name | |
|
|
| Name of the user whose privilege was reported |
|
| Used role | |
|
| Used object privilege | |
|
| Object owner | |
|
| Name of the object that | |
|
| Type of the object that | |
|
| Name of the column that | |
|
| Indicates whether the
| |
|
| The name of the run during which the privilege was reported |
See Also:
“DBA_USED_OBJPRIVS_PATH” for privilege grant path information for used object 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
编辑:一起学习网
标签:特权,视图,用户,英文,可以使用