Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Default role all

Default role all

From: Bill Becker <beckerb_at_mfldclin.edu>
Date: Tue, 29 Jan 2002 08:09:15 -0800
Message-ID: <F001.003FEC01.20020129080040@fatcity.com>

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-L

(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Tue Jan 29 2002 - 10:09:15 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US