--当前用户具有哪些权限和角色
select * from session_privs;
select * from session_privs;
--用户/对象所拥有的系统权限
select * from dba_sys_privs where grantee='FORQRY';
select * from dba_sys_privs where grantee='FORQRY';
---用户/角色拥有的对象权限
select * from dba_tab_privs where grantee ='FORQRY';
select * from dba_tab_privs where grantee ='FORQRY';
---用户/角色所拥有的角色
select * from dba_role_privs where grantee ='FORQRY';
select * from dba_role_privs where grantee ='FORQRY';
---角色系统权限
select * from role_sys_privs where role='DBA';
---角色对象权限
select * from role_tab_privs where role='DBA';
select * from role_sys_privs where role='DBA';
---角色对象权限
select * from role_tab_privs where role='DBA';
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10937311/viewspace-269648/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10937311/viewspace-269648/