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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to make a role the default?

Re: How to make a role the default?

From: Eugen Nyffeler <eugen.nyffeler_at_ubs.com>
Date: 1998/04/20
Message-ID: <353B2A56.855338D5@ubs.com>#1/1

Eugene Fan wrote:
>
> Hello All,
>
> Sorry for this dumb question, but I forgot how to make a granted role
> the default. For example,
>
> select * from dba_role_privs
> where grantee = 'HQDA_TOP_ADM'
>
> GRANTEE GRANTED_ROLE ADM DEF
> ------------------------------ ------------------------------ --- ---
> HQDA_TOP_ADM HQDA_DEF_USER YES NO
> HQDA_TOP_ADM HQDA_ORG_ADM YES NO
>
> This needs to be:
>
> GRANTEE GRANTED_ROLE ADM DEF
> ------------------------------ ------------------------------ --- ---
> HQDA_TOP_ADM HQDA_DEF_USER YES YES
> HQDA_TOP_ADM HQDA_ORG_ADM YES YES
> ^^^
<snip>

Hi

Alter user hqda_top_adm default role hqda_def_user, hqda_org_adm;

(as sys or system)

rgds
eugen Received on Mon Apr 20 1998 - 00:00:00 CDT

Original text of this message

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