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

x
?
Solved

Baseing a Datablock on DBA_ROLES

Posted on 2004-09-09
2
Medium Priority
?
545 Views
Last Modified: 2012-06-27
I want to list all of the roles available in the database - This is for a maintenance form to create new users.  I want to allow someone to type in a user and password, and then click the checkboxes of the roles that they should be granted.  The problem is that with the wizard I can't find the DBA_ROLES as a table or a view to base the block on.  

Anyone got any idea how to do this.
0
Comment
Question by:Intern
[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
2 Comments
 
LVL 7

Expert Comment

by:Bigfam5
ID: 12017792
You would need (select) permission to DBA_ROLES granted to the user executing the 'maintenance form'
0
 
LVL 23

Accepted Solution

by:
seazodiac earned 2000 total points
ID: 12017840
just log in as SYSDBA

SQL>connect / as sysdba

SQL>select role from dba_roles;


or grant the log in user "select_catalog_role"


SQL>connect / as sysdba
SQL>grant select_catalog_role to <user_name>;

then log in as <user_name> to select from dba_roles....
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

636 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