Interface UserManager
public interface UserManager
The
UserManager
allows to handle user management related features.-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteUser
(OrchestrationUser orchestrationUser) Deactivates a specified user.getUserInformation
(OrchestrationUser orchestrationUser) Retrieves the information related to a specific user.getUsers()
Retrieves the list of activated users.boolean
isUserActivated
(OrchestrationUser orchestrationUser) Check whether the provided user identifier corresponds to an activated user.
-
Method Details
-
isUserActivated
Check whether the provided user identifier corresponds to an activated user.- Parameters:
orchestrationUser
- the user to check- Returns:
- true if the user is activated
-
getUserInformation
Retrieves the information related to a specific user.- Parameters:
orchestrationUser
- the user- Returns:
- a
UserInformation
object or null if user is not activated
-
deleteUser
Deactivates a specified user.- Parameters:
orchestrationUser
- the user to deactivate
-
getUsers
List<OrchestrationUser> getUsers()Retrieves the list of activated users.- Returns:
- a list of
OrchestrationUser
-