Constructor and Description |
---|
UserInternalResource() |
Modifier and Type | Method and Description |
---|---|
Response |
getProfileImage(String userId)
Get the profile image file of the specified user based on his identifier or sends redirect to default image of no profile image is set.
|
List<UserConfig> |
getUsers(String query)
Returns a list of user information given a query string.
|
@Path(value="/{id:(([A-F0-9]{32})|default|current)}/profileimage") @GET public Response getProfileImage(@NotNull @PathParam(value="id") String userId)
userId
- the user identifier may be default, current or user identifier.@Path(value="/getusers") @GET @Produces(value="application/json") public List<UserConfig> getUsers(@QueryParam(value="query") @NotNull String query) throws PortalException, SQLException
query
- PortalException
SQLException
IUserManagerSPI.findUsers(String)
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.