search: keywords: ['SQL', 'command', 'alter', 'class', 'ALTER CLASS']

Server Commands - CREATE SYSTEM USER

Creates a System user

Syntax

CREATE SYSTEM USER <userName> IDENTIFIED BY <password> ROLE <role>
  • <userName> the user name
  • <password> the password
  • <role> an existing role name

Examples

  • Create a system user with one role:

    orientdb> CREATE SYSTEM USER test IDENTIFIED BY 'foo' ROLE admin
    
  • Create a system user with multiple roles:

    orientdb> CREATE SYSTEM USER test IDENTIFIED BY 'foo' ROLE [reader, writer]