ACL USERS
Since 1.1.0ACL
Syntax
ACL USERSReturns the names of every user the server has, default included, sorted by name. Users that are off are listed too. Use it to see who exists; ACL LIST shows every user with its rules, and ACL GETUSER one user in detail.
It takes no arguments. The list is this node's: users are not replicated, and each node of a cluster has its own, unless they share an aclfile.
ACL USERS is an administration command, in @admin and @dangerous, like the rest of ACL: a user given only the commands it needs, or +@all -@dangerous, is refused it with NOPERM. See Security.
Reply
An array of user names, sorted by byte value, so capitals come before lower case.
Examples
> ACL SETUSER alice on >alice-pw ~* +@all
OK
> ACL SETUSER bob off
OK
> ACL USERS
1) "alice"
2) "bob"
3) "default"
> ACL USERS extra
(error) ERR wrong number of arguments for 'acl|users' command