How to get all user inside AngularJS component

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

How to get all user inside AngularJS component

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
Highlighted
Senior Member II

Re: How to get all user inside AngularJS component

Can provide details of api you are using?

Thanks & Regard,
Sanjay
Highlighted
Member II

Re: How to get all user inside AngularJS component

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 

Capture2.PNG

 

 

Highlighted
Member II

Re: How to get all user inside AngularJS component

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

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