Solved

How to verify user permissions to tablespace?

Posted on 2010-09-16
4
671 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
[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
4 Comments
 
LVL 77

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
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 explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

690 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