oracle role

 

 

 #oracle role

 

 

 

 

 

 

 

 

 

 

 

 

1 . Disable all characters 
SQL > the SET Role none; 

2 . Activate the assigned roles Connect, Resource, role_emp 
SQL > the SET Role Connect, Resource, role_emp IDENTIFIED by role_emp; 

3 . Activate all the roles in addition to individual characters 
SQL > the SET Role All the except role_manager, role_emp; 

. 4 activates all roles. 
the SQL > sET role All; 

. 5 for the default user roles. 
the SQL > ALTER user Jack default role role_001; - role_001 as the role name, 

6 shield all user roles. 
the SQL > ALTER user Jack default role NONE; 

7The users of certain roles as the default role 
SQL > Jack the ALTER the User default Role Connect, Resource; 

DBA_ROLES: All characters and descriptions 
dba_role_privs: all users and roles granted to the role information 
user_role_privs: all roles granted to the current user information 

role_role_privs: roles granted to the role of information 
role_sys_privs: the role of information system privileges granted 
role_tab_privs: object privileges granted to the role of information 

session_roles: the current session has the role of information

 

Guess you like

Origin www.cnblogs.com/vmsysjack/p/12549047.html