User Management Commands

Note

For details on specific commands, including syntax and examples,click on the specific command to go to its reference page.

NameDescription
createUserCreates a new user.
dropAllUsersFromDatabaseDeletes all users associated with a database.
dropUserRemoves a single user.
grantRolesToUserGrants a role and its privileges to a user.
revokeRolesFromUserRemoves a role from a user.
updateUserUpdates a user’s data.
usersInfoReturns information about the specified users.