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
Solved

How to verify user permissions to tablespace?

Posted on 2010-09-16
4
669 Views
Last Modified: 2012-05-10
Another user has told me the following command have already been issued successfully.  

CREATE USER myuser INDENTIFIED BY myuser;
GRANT CONNECT, RESOURCE TO myuser;

How can I validate this was done. Is there a SQLPlus command or can I use Oracle SQL Developer?

I just want to see that these changes have been implemented.

Thanks
0
Comment
Question by:greddin
  • 3
4 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 400 total points
ID: 33696542
To verify the user:
Select ussername from dba_users where username='MYUSER';

For the roles:
Select granted_role from dba_role_privs where grantee='MYUSER'
0
 
LVL 28

Assisted Solution

by:Naveen Kumar
Naveen Kumar earned 100 total points
ID: 33697839
to "verify user permissions to tablespace?", you can run the below query :

select * from dba_ts_quotas
where username ='MIS_OWNER'  ---> change the user name here accordingly
orer by tablespace_name;

if you do not have access to dba_ts_quotas, then you can run the below :

select * from user_ts_quotas
order by tablespace_name; --> this will give the same information but for the current user who runs this query.

Thanks
0
 
LVL 28

Expert Comment

by:Naveen Kumar
ID: 33698316
You then have to accept the answers/split points and you should not delete the question.
0
 
LVL 28

Expert Comment

by:Naveen Kumar
ID: 33698320
oh..i am sorry, i thought you wanted to delete the question but infact you had raised it to get it closed.

Thanks,
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Queries 15 46
SQL Developer 6 60
Creation date for a PDB 5 39
DECLARATION OF CURSOR IS INCOMPLETE OR MALFORMED 5 19
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
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 video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
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.

856 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