Topic: Database Administration >> query to get user complete privileges
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: query to get user complete privileges |
| Soumya |
Posted: Jun 20, 2007 05:04:27 AM |
Total Post: 56
Joined: Mar, 2006
|
Hi ,
Does any one has query which can show complete privileges & roles
granted to a particular user.
thanx |
|
|
KS |
| Posted: Jun 20, 2007 10:07:50 AM | |
|
Total Post: 60
Joined: Nov, 2006
|
Hi ,
checkout these Data Dictionary Views,
USER_ROLE_PRIVS
DBA_ROLE_PRIVS
Also, from the below views you can get the additional information about the privileges a user have on a table.
ROLE_TAB_PRIVS
-Sri
|
|
|
|
|
Mohammed Taj |
| Posted: Jul 29, 2007 12:26:48 PM | |
|
Total Post: 709
Joined: Jul, 2007
|
Hi,
you can also use below query
for Priviliges
select * from session_privs;
for roles
select * from session_roles
http://dbataj.blogspot.com/2007/02/privilege.html
regards
Taj
http://dbataj.blogspot.com
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 816 |
| Mohammed Taj | 709 |
| Jayanta Sur | 479 |
| positive fanatic | 418 |
| Vigyan Kaushik | 386 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 242 |
| neeraj sharma | 240 |
| Ramesh Jois | 226 |
| Bishal Khetan | 205 |
|
|