cancel
Showing results for 
Search instead for 
Did you mean: 

Display a list of all users in Alfresco 5.0.

withsupportltd
Champ in-the-making
Champ in-the-making

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 ACCEPTED ANSWER

mikel_asla
Star Contributor
Star Contributor

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 answer in original post

4 REPLIES 4

mikel_asla
Star Contributor
Star Contributor

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
World-Class Innovator
World-Class Innovator

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.

Brilliant, really helpful.

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

Thank you

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.