Question

How to grant the privilege of giving the privilege of creating a session to a user or role in Oracle?

Was it helpful?

Solution

You would use the WITH ADMIN OPTION option in the GRANT statement

GRANT CREATE SESSION TO <<username>> WITH ADMIN OPTION

OTHER TIPS

You can grant system privileges with or without the admin option. The default being without admin option.

GRANT CREATE SESSION TO username

or with admin option:

GRANT CREATE SESSION TO username WITH ADMIN OPTION

The Grantee with the ADMIN OPTION can grant and revoke privileges to other users

grant CREATE SESSION

Ref.. http://ss64.com/ora/grant.html

HTH,

Kent

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top