Class UserComponent
java.lang.Object
org.ametys.plugins.workspaces.user.UserComponent
- All Implemented Interfaces:
Component
,Serviceable
Component to manager user
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
ROLE
The avalon role
-
-
Constructor Details
-
UserComponent
public UserComponent()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getUsers
public Map<String,Object> getUsers(String siteName, int count, int offset, String search, String zoneItemId) Search users in the given site- Parameters:
siteName
- The site namecount
- Number of results to returnoffset
- Offset to start resultssearch
- Text to filter searchzoneItemId
- the zoneItemId of the catalog service, used to get allowed populations- Returns:
- The users as JSON
-