CQL for Cassandra 2.x

LIST USERS

List existing users and their superuser status.

Synopsis

LIST USERS

Synopsis Legend

  • Uppercase means literal
  • Lowercase means not literal
  • Italics mean optional
  • The pipe (|) symbol means OR or AND/OR
  • Ellipsis (...) means repeatable
  • Orange ( and ) means not literal, indicates scope

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
Show/hide