ACL
ACL CAT
Syntax
ACL CAT [category]
The command shows the available ACL categories if called without arguments. If a category name is given, the command shows all the Garnet commands in the specified category.
Resp Reply
One of the following:
- Array reply: an array of Bulk string reply elements representing ACL categories or commands in a given category.
- Simple error reply: the command returns an error if an invalid category name is given.
ACL DELUSER
Syntax
ACL DELUSER username [username ...]
Delete all the specified ACL users and terminate all the connections that are authenticated with such users. Note: the special default user cannot be removed from the system, this is the default user that every new connection is authenticated with. The list of users may include usernames that do not exist, in such case no operation is performed for the non existing users.
Resp Reply
Integer reply: the number of users that were deleted. This number will not always match the number of arguments since certain users may not exist.