|
|
|
Re: User Rights [message #147583 is a reply to message #147582] |
Fri, 18 November 2005 06:19   |
JSI2001
Messages: 1016 Registered: March 2005 Location: Scotland
|
Senior Member |
|
|
Then he will have the rights granted under the connect and resource roles. Have you thought of testing this yourself, or reading up on privs and roles in the documentation? (you can get the documentation from http://tahiti.oracle.com)
Jim
|
|
|
Re: User Rights [message #147608 is a reply to message #147554] |
Fri, 18 November 2005 09:11  |
ramsat
Messages: 49 Registered: November 2005
|
Member |
|
|
Hai man check out this
SQL> select * from dba_role_privs where grantee ='RAMESH';
GRANTEE GRANTED_ROLE ADM DEF
------------------------------ ------------------------------ --- ---
RAMESH CONNECT NO YES
RAMESH RESOURCE NO YES
SQL> grant dba to ramesh;
Grant succeeded.
SQL> select * from dba_role_privs where grantee ='RAMESH';
GRANTEE GRANTED_ROLE ADM DEF
------------------------------ ------------------------------ --- ---
RAMESH DBA NO YES
RAMESH CONNECT NO YES
RAMESH RESOURCE NO YES
SQL> revoke dba from ramesh;
Revoke succeeded.
SQL> select * from dba_role_privs where grantee ='RAMESH';
GRANTEE GRANTED_ROLE ADM DEF
------------------------------ ------------------------------ --- ---
RAMESH CONNECT NO YES
RAMESH RESOURCE NO YES
hit me if u have any doubts in my mailid
|
|
|