content/commands/acl-whoami.md
Return the username the current connection is authenticated with.
New connections are authenticated with the "default" user. They
can change user using [AUTH]({{< relref "/commands/auth" >}}).
> ACL WHOAMI
"default"
| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | Not supported for [scripts]({{<relref "/develop/programmability">}}). |
{{< multitabs id="acl-whoami-return-info" tab1="RESP2" tab2="RESP3" >}}
Bulk string reply: the username of the current connection.
-tab-sep-
Bulk string reply: the username of the current connection.
{{< /multitabs >}}