User Management Commands用户管理命令

Note

For details on specific commands, including syntax and examples, click on the specific command to go to its reference page.有关特定命令的详细信息,包括语法和示例,请单击特定命令以转到其参考页面。

Name名称Description描述
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.返回有关指定用户的信息。