Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Oracle - View roles assigned to my username

Posted on 2013-06-13
6
Medium Priority
?
445 Views
Last Modified: 2013-06-13
In oracle is there a way to see what roles/permissions are assigned to my username?
0
Comment
Question by:patriotpacer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 39244422
There are a few views you can check:

http://docs.oracle.com/cd/E11882_01/server.112/e25513/toc.htm

USER_ROLE_PRIVS
USER_ROLE_PRIVS describes the roles granted to the current user.

USER_SYS_PRIVS
USER_SYS_PRIVS describes system privileges granted to the current user.

USER_TAB_PRIVS
USER_TAB_PRIVS describes the object grants for which the current user is the object owner, grantor, or grantee. Its columns are the same as those in DBA_TAB_PRIVS.
0
 

Author Closing Comment

by:patriotpacer
ID: 39244433
Thx (again) slightwv!
0
 
LVL 49

Expert Comment

by:PortletPaul
ID: 39244468
try these:
SELECT * FROM USER_SYS_PRIVS;
SELECT * FROM USER_TAB_PRIVS;
SELECT * FROM USER_ROLE_PRIVS;
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 49

Expert Comment

by:PortletPaul
ID: 39244470
:0 oops no refresh - too late (again) sorry
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39244472
Way late this time Paul!!!  ;)
0
 
LVL 49

Expert Comment

by:PortletPaul
ID: 39244492
yes, had to put a cat to bed :)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

596 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question