That's not quite the way it works. 

When a role is granted to a user, it automatically becomes a default
role for that user.  A role is made non-default via an "alter
user...set default role..." statement.  If such a statement is never
executed for a user, then all of the user's granted roles remain
default roles.   


--- Regina Harter <[EMAIL PROTECTED]> wrote:
> I don't know about default roles, but if you have none set as
> default, all 
> are active.
> 
> At 10:00 AM 1/3/02 -0800, you wrote:
> >I think there is a command like: alter user ??? default role all
> >
> >-----Original Message-----
> >Sent: Thursday, January 03, 2002 12:30 PM
> >To: Multiple recipients of list ORACLE-L
> >
> >
> >I beg to differ.  A default role is simply one that is automatically
> >enabled (or "set") upon login.  Any or all of a user's roles may be
> >default (see the definition of user_role_privs).
> >
> >May I suggest, Rachel my friend, that *you* RTFM?  :-D
> >
> >
> >--- Rachel Carmichael <[EMAIL PROTECTED]> wrote:
> >
> > > third, you can only have ONE default role. Think about it. If you
> > > really want the user to have the privs of several roles at once,
> > > create
> > > another role, a "superrole" that is granted both DB and RESOURCE
> and
> > > the grant that one as default.
> > >
> > > And you really do have to RTFM
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Send your FREE holiday greetings online!
> >http://greetings.yahoo.com
> >--
> >Please see the official ORACLE-L FAQ: http://www.orafaq.com
> >--
> >Author: Paul Baumgartel
> >   INET: [EMAIL PROTECTED]
> >
> >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: [EMAIL PROTECTED] (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).
> >--
> >Please see the official ORACLE-L FAQ: http://www.orafaq.com
> >--
> >Author: Khedr, Waleed
> >   INET: [EMAIL PROTECTED]
> >
> >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: [EMAIL PROTECTED] (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).
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Regina Harter
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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).


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Paul Baumgartel
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to