REMOVE USER reference
Enterprise—
Learn moreRBAC provides fine-grained database permissions management.
REMOVE USER - removes user from one or more groups.
For full documentation of the Access Control List and Role-based Access Control, see the RBAC operations page.
Syntax
REMOVE USER userName FROM groupName [, groupName ...];
Examples
ADD USER john to management, audit;
REMOVE USER john from management, audit;
Checking user groups with:
SHOW GROUPS john;
should yield an empty list.