";" (Windows)":" (Linux)
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 users as a csv redy …
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 user:password 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
Retrieving data ...