TypeDB 3.0 is live! Get started for free.

Listing users

To list all users, connect to TypeDB and follow the steps below:

  • Console

  • Studio

Run the following command:

user list

Coming soon.

To list all users programmatically:

  • Rust

  • Python

  • Java

  • Node.js

  • C#

  • C++

  • C

  • HTTP

let user = driver.users().all().await?;

Where driver is an instance of a driver, connected to TypeDB, and "<username>" is the name of the user.

driver.users.all()

Where driver is an instance of a driver, connected to TypeDB, and "<username>" is the name of the user.

driver.users().all();

Where driver is an instance of a driver, connected to TypeDB, and "<username>" is the name of the user.

Coming soon.

Send a users GET HTTP request:

curl
curl --request GET \
  --url {http/https}://{address}:{http_port}/v1/users \
  --header 'Authorization: Bearer {ACCESS-TOKEN}'

Where {ACCESS_TOKEN} is your authentication token.