Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Default role all
Hello,
Env: 8.1.6 on Solaris 2.7
Does anyone know which data dictionary table stores the setting when you issue an "ALTER USER user_name DEFAULT ROLE ALL" COMMAND?
I know that dba_role_privs has a default_role (YES/NO) field, but that is specific to each role. Is there another table that stores a system-wide default role setting per user?
The reason I ask, without getting too complicated, is that we used to
assign new roles to users without specifying anything to do with default
roles, and the newly-assigned role automatically became a default role.
Recently, this has changed due to using both toad and sqlplus to
administer roles, and I am wondering if there is another table where
the system-wide default setting for roles is stored. If not, is there
any way to assign new roles as default roles without having to specify
"alter user user_name default role all" every time a new role is granted
(or worse, an explicit list of roles)?
Thanks to any responders.
Bill Becker
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Bill Becker INET: beckerb_at_mfldclin.edu Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Tue Jan 29 2002 - 10:09:15 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).