summaryrefslogtreecommitdiffstats
path: root/src/commands/acl-whoami.json
blob: 2efe98c52fe1ba19a647df71ef0b9e9aad799aa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "WHOAMI": {
        "summary": "Returns the authenticated username of the current connection.",
        "complexity": "O(1)",
        "group": "server",
        "since": "6.0.0",
        "arity": 2,
        "container": "ACL",
        "function": "aclCommand",
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "reply_schema": {
            "type": "string",
            "description": "The username of the current connection."
        }
    }
}