public interface UserDirectoryService
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllAdministratorUsernames()
Returns a set of names of all users that have administer permission of the cable database.
|
Set<String> |
getAllUsernames()
Returns a set of all user names currently registered in the directory.
|
Set<String> |
getAllUserUsernames()
Returns a set of names of all users that have user permission of the cable database.
|
String |
getEmail(String username)
Retrieves the email address for the given user.
|
String |
getUserFullName(String username)
Retrieves fur name for the given user.
|
String |
getUserFullNameAndEmail(String username)
Retrieves the full name and email of the user in the form Name Surname - mail@mail.com
|
void |
validate()
Tests that the directory service is reachable, and throws an exception if it isn't.
|
void validate()
Set<String> getAllUsernames()
Set<String> getAllUserUsernames()
Set<String> getAllAdministratorUsernames()
String getEmail(String username)
username - the user nameString getUserFullName(String username)
username - the user nameCopyright © 2025 European Spallation Source. All rights reserved.