本站中文解释
查看指定用户被授予的 系统权限或对象权限。
Oracle视图:DBA_USED_USERPRIVS_PATH
用途:DBA_USED_USERPRIVS_PATH 视图是一个内部视图,用来查看指定用户被授予的系统权限或对象权限。这个视图可以查看拥有某个特定用户的权限,例如通过PROXY用户授予的权限;它也可以查看被授予的系统权限和表的属性权限;另外,它还可以显示用户有哪些系统权限,以及基于这些权限拥有哪些对象权限。
使用方法:
首先,使用SELECT * FROM DBA_USED_USERPRIVS_PATH 视图可以查询出指定用户拥有的系统权限、对象权限以及PROXY权限。
其次,使用GRANT语句可以授予用户特定的权限,如系统权限、对象权限等。
最后,使用REVOKE语句可以删除用户的权限,以及通过其他用户授予的权限。
另外,它也能够用来检查数据库中的某个用户拥有哪些权限,及其权限是否正确安装使用。例如,可以使用这个视图检查一个对数据库拥有被盗用或滥用特定权限的用户。
官方英文解释
DBA_USED_USERPRIVS_PATH
lists the user privileges 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 reported |
|
|
Operating system login username |
|
|
|
Client host machine name |
|
|
|
Module name |
|
|
|
|
Name of the user whose privilege was reported |
|
|
Used role |
|
|
|
Used user privilege |
|
|
|
The user whose user privileges the grantee can exercise |
|
|
|
Indicates whether the privilege is granted with the
|
|
|
|
User privilege grant paths |
|
|
|
The name of the run during which the privilege was reported |
See Also:
-
Oracle Database Security
Guide for more information about privilege analysis -
Oracle Database PL/SQL
Packages and Types Reference for more information about theDBMS_PRIVILEGE_CAPTURE.GENERATE_RESULT
procedure