snippetMajor
How to see profile assigned to a user
Viewed 0 times
userprofileseeassignedhow
Problem
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.
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.
Solution
In order to find out the users and the profile assigned you can use the commands below.
This will show you all the fields name for which you want to query
And this command will show you the user name, profile and account status i.e. which profile is assigned to which user
DESC DBA_USERS;This will show you all the fields name for which you want to query
SELECT USERNAME, PROFILE, ACCOUNT_STATUS FROM DBA_USERS;And this command will show you the user name, profile and account status i.e. which profile is assigned to which user
Code Snippets
DESC DBA_USERS;SELECT USERNAME, PROFILE, ACCOUNT_STATUS FROM DBA_USERS;Context
StackExchange Database Administrators Q#50927, answer score: 21
Revisions (0)
No revisions yet.