summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/acl-whoami.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/acl-whoami.md')
-rw-r--r--iredis/data/commands/acl-whoami.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/iredis/data/commands/acl-whoami.md b/iredis/data/commands/acl-whoami.md
new file mode 100644
index 0000000..5ec7b84
--- /dev/null
+++ b/iredis/data/commands/acl-whoami.md
@@ -0,0 +1,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"
+```