ACL WHOAMI

Syntax
ACL WHOAMI
Available since:
6.0.0
Time complexity:
O(1)
ACL categories:
@slow,

Return the username the current connection is authenticated with. New connections are authenticated with the "default" user. They can change user using AUTH.

Examples

> ACL WHOAMI
"default"

RESP2/RESP3 Reply

Bulk string reply: the username of the current connection.
RATE THIS PAGE
Back to top ↑