ACL WHOAMI
Return the username the current connection is authenticated with. New connections are authenticated with the "default" user. They can change user using AUTH.
Bulk string reply: the username of the current connection.
> ACL WHOAMI "default"
© 2009–2020 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/acl-whoami