Oracle 视图 USER_APPLICATION_ROLES 官方解释,作用,如何使用详细说明
本站中文解释
USER_APPLICATION_ROLES,是Oracle系统自带的视图,可以查看和列出用户角色之间的关联关系。
用法:
SELECT APPLICATION_NAME,USERNAME,ROLE
FROM USER_APPLICATION_ROLES
WHERE USERNAME = ‘user_name’;
此语句将列出给定的用户user_name的应用名称,用户名和角色,以及以user_name为主的角色关系。
官方英文解释
USER_APPLICATION_ROLES
describes all the roles for the current user that have authorization policy functions defined.
Its columns are the same as those in DBA_APPLICATION_ROLES
.
Note:
This view is available starting with Oracle Database 21c.
See Also:
“DBA_APPLICATION_ROLES”