Entering content frame

GRANT USER Statement (grant_user_statement) Locate the document in its SAP Library structure

The GRANT USER statement grants another user the owner privilege that the SYSDBA or a DBA user has over a user.

Syntax

<grant user statement> ::= GRANT USER <granted users> [FROM <user_name>] TO <user_name>

<granted users> ::= <user name>,...| *
user 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 users specified after the GRANT USER keywords must exist and must not be a member of a usergroup. They must also have the user class RESOURCE or STANDARD. The FROM user must have the owner privilege for these users. If * is specified, the GRANT USER statement affects all users for which the FROM user has the owner privilege.

The FROM user grants the TO user the owner privileges which the FROM user has over the specified users. These rights are revoked from the FROM user. In particular, the TO user is granted the right to drop any specified user and to alter the user class and other properties of this user.

Leaving content frame