public interface UsersResource
Modifier and Type | Method and Description |
---|---|
Integer |
count() |
Response |
create(UserRepresentation userRepresentation) |
Response |
delete(String id) |
UserResource |
get(String id) |
List<UserRepresentation> |
list() |
List<UserRepresentation> |
list(Integer firstResult,
Integer maxResults) |
List<UserRepresentation> |
search(String username) |
List<UserRepresentation> |
search(String search,
Integer firstResult,
Integer maxResults)
Search for users whose username or email matches the value provided by
search . |
List<UserRepresentation> |
search(String search,
Integer firstResult,
Integer maxResults,
Boolean briefRepresentation)
Search for users whose username or email matches the value provided by
search . |
List<UserRepresentation> |
search(String username,
String firstName,
String lastName,
String email,
Integer firstResult,
Integer maxResults) |
List<UserRepresentation> |
search(String username,
String firstName,
String lastName,
String email,
Integer firstResult,
Integer maxResults,
Boolean briefRepresentation) |
List<UserRepresentation> search(String username, String firstName, String lastName, String email, Integer firstResult, Integer maxResults)
List<UserRepresentation> search(String username, String firstName, String lastName, String email, Integer firstResult, Integer maxResults, Boolean briefRepresentation)
List<UserRepresentation> search(String username)
List<UserRepresentation> search(String search, Integer firstResult, Integer maxResults)
search
. The search
argument also allows finding users by specific attributes as follows:
search
- the value to search. It can be the username, email or any of the supported options to query based on user attributesfirstResult
- the position of the first result to retrievemaxResults
- the maximum number of results to retreiveUserRepresentation
List<UserRepresentation> search(String search, Integer firstResult, Integer maxResults, Boolean briefRepresentation)
search
. The search
argument also allows finding users by specific attributes as follows:
search
- the value to search. It can be the username, email or any of the supported options to query based on user attributesfirstResult
- the position of the first result to retrievemaxResults
- the maximum number of results to retreivebriefRepresentation
- Only return basic information (only guaranteed to return id, username, created, first and last name,
email, enabled state, email verification state, federation link, and access.
Note that it means that namely user attributes, required actions, and not before are not returned.)UserRepresentation
List<UserRepresentation> list(Integer firstResult, Integer maxResults)
List<UserRepresentation> list()
Response create(UserRepresentation userRepresentation)
Integer count()
UserResource get(String id)
Response delete(String id)
Copyright © 2019 JBoss by Red Hat. All rights reserved.