Skip to main content
Updates the configuration of the specified user. For more information, see Managing users.
Users can modify most of their own account settings without requiring RBAC permissions, except when altering LOGIN configurations or a SERVICE ACCOUNT.

ALTER USER SET

Syntax

or

Parameters

Example

The following command will rename the “alex” account to “alexs”.
This command will link the user “alex” to the “alexs@acme.com” login.

ALTER USER OWNER TO

Change the owner of a user. The current owner of a user can be viewed in the information_schema.users view on user_owner column. Check ownership page for more info.

Syntax

Parameters