cancel
Showing results for 
Search instead for 
Did you mean: 

How to get all user inside AngularJS component

IlhemB
Champ in-the-making
Champ in-the-making

Hello, 

I need some help.

One of my colleagues uses UserService in a costomised AngularJS component to get users. 

However, we get only the first 50 users and we can't get the documentation of this service to change the size of the list we get from the APS rest api. If some indicate where can I find the documentation or the methods to change the size, it will be helpful

Thank you for the help you would provide.

3 REPLIES 3

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

Can provide details of api you are using?

Alfresco Process Services api https://activiti.alfresco.com/activiti-app/api-explorer.html#!/users/getUsersUsingGET_1 with get users, but to get to it I use UserService that is injected in an AngularJS component, you can see the injection in the joined image 

image

IlhemB
Champ in-the-making
Champ in-the-making

I use this method in the service for the customised AngularJS Component 

this.getUsers = function(){
return UserService.getFilteredUsers();
}