Role Management CommandsΒΆ

Name Description
createRole Creates a role and specifies its privileges.
updateRole Updates a user-defined role.
dropRole Deletes the user-defined role.
dropAllRolesFromDatabase Deletes all user-defined roles from a database.
grantPrivilegesToRole Assigns privileges to a user-defined role.
revokePrivilegesFromRole Removes the specified privileges from a user-defined role.
grantRolesToRole Specifies roles from which a user-defined role inherits privileges.
revokeRolesFromRole Removes specified inherited roles from a user-defined role.
rolesInfo Returns information for the specified role or roles.
invalidateUserCache Flushes the in-memory cache of user information, including credentials and roles.
←   usersInfo createRole  →

Was this page helpful?

Yes No

Thank you for your feedback!

We're sorry! You can Report a Problem to help us improve this page.