Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
As you are probably aware, there are two major classes of "permissions": 1) Object privileges and 2) System privileges. Then, you can obtain those privileges in two ways: 1) Direct GRANT 2) Indirect GRANT through membership in a ROLE.Maswien said:...view...to check all the permissions granted to a user?
select object_name from all_objects where owner in ('SYS','SYSTEM','PUBLIC')
and object_name like '%PRIVS%'
order by 1;
SELECT grantee, 'Explicit System Privilege', null object_name, privilege
FROM dba_sys_privs WHERE grantee = 'YOUR_USER_NAME_HERE'
UNION ALL
SELECT grantee, 'Explicit Object Privilege',table_name, privilege
FROM dba_tab_privs WHERE grantee = 'YOUR_USER_NAME_HERE'
UNION ALL
SELECT rp.grantee, 'System Privilege From Role '||rp.granted_role, null, sp.privilege
FROM dba_role_privs rp, dba_sys_privs sp
WHERE rp.granted_role = sp.grantee AND rp.grantee = 'YOUR_USER_NAME_HERE'
UNION ALL
SELECT rp.grantee, 'Object Privilege From Role '||rp.granted_role, table_name, op.privilege
FROM dba_role_privs rp, dba_tab_privs op
WHERE rp.granted_role = op.grantee AND rp.grantee = 'YOUR_USER_NAME_HERE';