| Constructor and Description |
|---|
UsersApiImpl(UserService userService) |
| Modifier and Type | Method and Description |
|---|---|
User |
create(UserCreationInfo creationInfo)
Create a new User.
|
void |
delete(Reference<User> userReference)
Delete a user.
|
User |
get(Reference<User> userReference)
Retrieve an existing user
|
User |
getSelf()
Retrieve the currently authenticated user
|
List<User> |
list(Boolean isActive,
Instant updatedSince)
Return a list of users, filtered by activity and update date, newest user
first.
|
User |
update(Reference<User> userReference,
User toChange)
Change an existing user.
|
public UsersApiImpl(UserService userService)
public List<User> list(Boolean isActive, Instant updatedSince)
UsersApilist in interface UsersApiisActive - if true, return only active users. Set to null to disable
filteringupdatedSince - return only users that have been updated at least 1 second after
updatedSince. Set to null to disable filtering.public User create(UserCreationInfo creationInfo)
UsersApipublic User getSelf()
UsersApipublic User get(Reference<User> userReference)
UsersApipublic User update(Reference<User> userReference, User toChange)
UsersApi