selectlpad(' ', 2*level) || granted_role "Roles, Privileges of USER(s)"from(/* THE USERS */selectnull grantee,username granted_rolefromdba_userswhereusername like upper('%&enter_username%')/* THE ROLES TO ROLES RELATIONS */unionselectgrantee,granted_rolefromdba_role_privs/* THE ROLES TO PRIVILEGE RELATIONS */unionselectgrantee,privilegefromdba_sys_privs)start with grantee is nullconnect by grantee = prior granted_role;
Tuesday, August 17, 2010
All Roles to a user(s)
Show all the roles assigned to a user(s):
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment