cancel
Showing results for 
Search instead for 
Did you mean: 

export users from Alfresco??urgent

sumit057
Champ in-the-making
Champ in-the-making
is it possible to export the system users (created users) in Alfresco to export?
23 REPLIES 23

mrogers
Star Contributor
Star Contributor
Or use transfer…

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
You can create the script that will create code for generation users on the other server. It is version independent and allows you to manipulate the export.

http://alfrescoblog.com/2014/09/04/alfresco-export-users-from-one-server-to-the-other/

gluck113
Star Contributor
Star Contributor

Hope this helps somebody (None of the previous solutions worked on a 4.1 installation).

There is a githubproject that does exactly that through webscript call:

GitHub - telefonosuci/alfresco-user-export: A custom and really simple webscript to export Alfresco ... 

cesarista
World-Class Innovator
World-Class Innovator

Hi Simon:

You can also curl people webscript and parse it with jq or jshon (it may be somehow complicated but it is no needed an additional webscript). This should work in Alfresco 4.

$ curl -s -u userSmiley Tongueassword http://alfrescoserver/alfresco/service/api/people |  jq '.people' | jq '.[] | "\(.userName),\(.firstName),\(.lastName),\(.email)"'

Alfresco Shell Tools addon had a similar aprox with a script called alfListUsers.sh

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

Regards.

--C.