Entering content frame

GRANT USERGROUP Statement (grant_usergroup_statement) 

The GRANT USER statement grants another user the owner privilege that the database system administrator (SYSDBA user) or a database administrator (DBA user) has over a user group.

Syntax

<grant_usergroup_statement> ::= GRANT USERGROUP <granted_usergroups> [FROM <user_name>] TO <user_name>

<granted_usergroups> ::= <usergroup_name>,...| *
user name, usergroup name

Explanation

The current user must be a DBA user.

The user names specified after the FROM and TO keywords must be different and must identify DBA users. If FROM <user name> is not specified, the current user is assumed implicitly.

The usergroup name must identify a user groups for which the FROM user has the owner privilege. An asterisk * stands for all user groups for which the FROM user has the owner privilege.

The FROM user grants the TO user the owner authorization which the FROM user has over the specified user groups. These rights are revoked from the FROM user. In particular, the TO user is granted the right to drop any usergroup, to alter the user class and properties of this usergroup, and to drop or create group members.

 

Leaving content frame