Database Manual / Reference / Database Commands

User Management Commands

Note

For details on a specific command, including syntax and examples, click on the link to the command's reference page.

NameDescription

createUser

Creates a new user.

dropAllUsersFromDatabase

Deletes all users associated with a database.

dropUser

Removes a single user.

grantRolesToUser

Grants a role and its privileges to a user.

revokeRolesFromUser

Removes a role from a user.

updateUser

Updates a user's data.

usersInfo

Returns information about the specified users.