Solved

Baseing a Datablock on DBA_ROLES

Posted on 2004-09-09
2
539 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 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
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 explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

696 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