Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Let's say i have created a user as 'TEST_USER', and then i assigned a profile to it.

Now how can i see for TEST_USER which profile has been assigned?

I want some query that will check what profile a user is assigned with.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

You can find this information in dba_users.profile view: http://docs.oracle.com/cd/E18283_01/server.112/e17110/statviews_5081.htm

share|improve this answer
    
Thank you....... –  VishalD Oct 3 '13 at 8:38

In order to find out the users and the profile assigned you can use the commands below.

1- DESC DBA_USERS; 

it will show you all the fields name for which you want to query

2- SELECT USERNAME, PROFILE, ACCOUNT_STATUS FROM DBA_USERS; 

This command will show you the user name, profile and account status i.e. which profile is assigned to which user

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.