注:
视图dba_sys_privs是用来查询用户系统权限的;
视图dba_role_privs是用来查询用户角色的
在sqlplus 环境中运行下列语句:
define 1=‘关注的用户’
set linesize 200
select grantee, privilege from dba_sys_privs where grantee='&&1';
select grantee, GRANTED_ROLE from dba_role_privs where grantee='&&1';
select username, DEFAULT_TABLESPACE , TEMPORARY_TABLESPACE from dba_users where username='&&1';
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27042095/viewspace-751956/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27042095/viewspace-751956/