Display a list of all users in Alfresco 5.0.

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

Display a list of all users in Alfresco 5.0.

Jump to solution

Is there a way i can simply display a list of over 500 users?

Is there a simple way to export the user list?

1 Solution

Accepted Solutions
mikel_asla
Established Member

Re: Display a list of all users in Alfresco 5.0.

Jump to solution

This is the simplest way i can think of

curl -u admin:admin "http://localhost:8080/alfresco/s/api/people?maxResults=500" > people.json

View solution in original post

4 Replies
mikel_asla
Established Member

Re: Display a list of all users in Alfresco 5.0.

Jump to solution

This is the simplest way i can think of

curl -u admin:admin "http://localhost:8080/alfresco/s/api/people?maxResults=500" > people.json

cesarista
Customer

Re: Display a list of all users in Alfresco 5.0.

Jump to solution

Hi:

This is more or less the same that Mikel Asla, via alfListUsers.sh command in alfresco shell tools:

alfresco-shell-tools/alfListUsers.sh at master · ecm4u/alfresco-shell-tools · GitHub 

By the way, if you have Javascript Console addon installed you may run JS API people related. This example is inside the link below.

getPeople | Alfresco Documentation 

Regards.

--C.

withsupportltd
Member II

Re: Display a list of all users in Alfresco 5.0.

Jump to solution

Brilliant, really helpful.

Now do you know if there is a way to display the same information but organised by groups?

Thank you

cesarista
Customer

Re: Display a list of all users in Alfresco 5.0.

Jump to solution

Hi:

Check this link (in spanish), with the help of Alfresco shell tools again. In the middle of the post there is a shell script based in alfresco shell commands called AlfrescoAllGroups.sh 

- Alfresco Shell Tools - zylk 

Regards.

--C.