For AI agents: the complete documentation index is at llms.txt. Every page is also available as markdown by appending .md to its URL, or by sending an Accept: text/markdown request header.

ADD USER reference

Enterprise

RBAC provides fine-grained database permissions management.

Learn more

To add user to one or more groups in the database, the ADD USER keywords are used.

For full documentation of the Access Control List and Role-based Access Control, see the RBAC operations page.


Syntax

ADD USER userName TO groupName [, groupName ...];

Description

ADD USER adds a user to one or more groups.

Examples

ADD USER john to management, audit;

It can be verified with:

SHOW GROUPS john;

that yields:

name
management
audit