Oracle 视图 DBA_USED_USERPRIVS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle 视图 DBA_USED_USERPRIVS 提供了当前用户所使用过的所有用户特权的详细信息。它显示了授予用户修改权限的对象,以及启用特定特权时间等。
使用 DBA_USED_USERPRIVS 视图可以帮助 DBA 更好地了解一个用户授予了哪些权限,使用时的情况及风险。 下面的查询可以显示某个用户授予的所有特权:
SELECT * FROM DBA_USED_USERPRIVS WHERE GRANTEE = ‘username’;
官方英文解释
DBA_USED_USERPRIVS
lists the user 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 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
|
|
|
|
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