Remove by username, not by User.
This commit is contained in:
1 parent
c6e414025a
commit
2925db8945
1 file changed
+3
-2
@@ -77,11 +77,12 @@ public interface UserDirectory {
|
||||
void updateUser(User user) throws GuacamoleException;
|
||||
|
||||
/**
|
||||
* Removes the given User from the overall set of available Users.
|
||||
* Removes the user with the given username from the overall set of
|
||||
* available Users.
|
||||
*
|
||||
* @throws GuacamoleException If an error occurs while removing the user,
|
||||
* or if removing user is not allowed.
|
||||
*/
|
||||
void removeUser(User user) throws GuacamoleException;
|
||||
void removeUser(String username) throws GuacamoleException;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user