diff options
Diffstat (limited to 'src/Client/UserCommands.h')
-rw-r--r-- | src/Client/UserCommands.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Client/UserCommands.h b/src/Client/UserCommands.h index b62c8e4..d5793fa 100644 --- a/src/Client/UserCommands.h +++ b/src/Client/UserCommands.h @@ -32,14 +32,15 @@ class UserCommands { private: UserCommands(); + static std::string getUserName(CommandParser *commandParser, unsigned long uid, bool withId); + static std::string getGroupName(CommandParser *commandParser, unsigned long gid, bool withId); + public: static void listUsersCommand(CommandParser *commandParser, const std::vector<std::string> &args); static void userInfoCommand(CommandParser *commandParser, const std::vector<std::string> &args); - static void listUserGroupsCommand(CommandParser *commandParser, const std::vector<std::string> &args); static void listGroupsCommand(CommandParser *commandParser, const std::vector<std::string> &args); static void groupInfoCommand(CommandParser *commandParser, const std::vector<std::string> &args); - static void listGroupUsersCommand(CommandParser *commandParser, const std::vector<std::string> &args); static void addUserCommand(CommandParser *commandParser, const std::vector<std::string> &args); static void updateUserCommand(CommandParser *commandParser, const std::vector<std::string> &args); |