Creates a new user under the account specified in the UserCreator.
The returned User object does not have its access information, roles
and permissions, loaded.
Returns the User with the specified Id; returns null if the user is not found. The API does not perform any access control check and it is meant for internal use.
Updates an User in the database and returns the refreshed/reloaded entity instance.
The returned User object does not have its access information, roles
and permissions, loaded.
UserService exposes APIs to manage User object under an Account.
It includes APIs to create, update, find, list and delete Users.
Instances of the UserService can be acquired through the ServiceLocator.