In this task I have to use any views in the catalog, whose names begin with “ALL_”, to retrieve as much information about user “HR” as I can find including privileges, roles, objects he owns or has access to, etc.
I write a script containing this statements below, is this enough or I still need to add more and what must I add?
`-- ****************** My Script *******************
SELECT * FROM all_users WHERE username = 'HR';
SELECT * FROM all_objects WHERE owner = 'HR';
SELECT * FROM ALL_constraints WHERE owner = 'HR';
select * from all_col_privs WHERE grantor = 'HR';
-- ************* End of the Script *****************`
See Oracle system tables below: