LIST USERS

List existing users and their superuser status.

List existing users and their superuser status.

Synopsis

LIST USERS
Table 1. Legend
  • Uppercase means literal
  • Lowercase means not literal
  • Italics mean optional
  • The pipe (|) symbol means OR or AND/OR
  • Ellipsis (...) means repeatable

A semicolon that terminates CQL statements is not included in the synopsis.

Description

Assuming you use internal authentication, created the users in the CREATE USER examples, and have not yet changed the default user, the following example shows the output of LIST USERS.

Example

LIST USERS;

Output is:

 name      | super
-----------+-------
 cassandra |  True
     boone | False
     akers |  True
  spillman | False