Creating users
To create a new user, connect to TypeDB and follow the steps below:
-
Console
-
Studio
Run the following command:
user create <username>
Coming soon. |
To create a new user programmatically:
-
Rust
-
Python
-
Java
-
Node.js
-
C#
-
C++
-
C
let result = driver.users().create("<username>").await;
Where driver
is an instance of a driver, connected to TypeDB, and "<username>"
is the name of the user.
driver.users.create("<username>")
Where driver
is an instance of a driver, connected to TypeDB, and "<username>"
is the name of the user.
driver.users().create("<username>");
Where driver
is an instance of a driver, connected to TypeDB, and "<username>"
is the name of the user.
Coming soon. |