ALTER USER Examples
-
Changing the password for the user
bobbyand granting them user management privileges:ALTER USER bobby PASSWORD '67-UiT_G8' GRANT ADMIN ROLE; -
Editing the optional properties (the first and last names) of the user
dan:ALTER USER dan FIRSTNAME 'No_Jack' LASTNAME 'Kennedy'; -
Revoking user management privileges from user
dumbbell:ALTER USER dumbbell DROP ADMIN ROLE;