Kel Bell, May 19, 2017 - 8:50 pm UTC
Thank you very much. However, I don't quite understand. There are a few hundred users in the database, we just need to revoke one specific role from about 75 users. But we need to identify those users that have that one role, then generate the revoke statement. How can we do that please?
May 19, 2017 - 10:38 pm UTC
You can see that from my answer
DBA_ROLE_PRIVS
- granted_role
- grantee
Kel Bell, May 20, 2017 - 12:26 am UTC
Thank you again. However, in your statement you're entering a user's id. Are you saying I need to create the script you have and manually enter every users id first (as you did with 'MCDONAC')?
May 23, 2017 - 2:00 am UTC
No, that was an *example*...something from which you can *base* your scripts.
It was just the illustrate the *premise*
- revoke existing
- grant new