xxxxxxxxxx
syntax:
GRANT privileges ON object TO user;
eg:
GRANT ALL ON suppliers TO produces;
GRANT SELECT ON suppliers TO produces;
suppliers-> table
produces -> user,role ,schema any
xxxxxxxxxx
SELECT granted_role
FROM dba_role_privs
WHERE grantee = <<the user name>>
xxxxxxxxxx
SELECT granted_role
FROM dba_role_privs
WHERE grantee = <<the user name>>
xxxxxxxxxx
SELECT granted_role
FROM dba_role_privs
WHERE grantee = <<the user name>>
xxxxxxxxxx
SELECT privilege
FROM dba_sys_privs
WHERE grantee = <<the user name>>
xxxxxxxxxx
SELECT *
FROM dba_sys_privs
WHERE grantee IN (SELECT granted_role
FROM dba_role_privs
WHERE grantee = <<the user name>>)