summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/acl-whoami.md
blob: 5ec7b8485b2f71deb4d5cfeaa95ea8fb48fca14c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Return the username the current connection is authenticated with.
New connections are authenticated with the "default" user. They
can change user using `AUTH`.

@return

@bulk-string-reply: the username of the current connection.

@examples

```
> ACL WHOAMI
"default"
```