Hello everyone,
I need to have a list of all users that are disabled in Alfresco 4.1. Be it in a form of SQL query or a webscript call.
Much better if in SQL query form.
Thanks!
Hi, I don't know how to do with SQL, but I found the REST api: http://<localhost>:<port>/alfresco/service/api/people
This is people's list with details.
I hope I help you.
Cool thanks! Yeah I could just workout with the JSON response. Marking this as correct
Hi Ramil,
You can use the 'people' object of REST api, and if you want only users whose account is disabled, then you can filter the users' list by people.isAccountEnabled("user") method.
For more info please refer these links http://docs.alfresco.com/5.1/references/API-JS-isAccountEnabled.html and http://docs.alfresco.com/5.1/references/API-JS-getPeople.html.
Thanks,
Kalpesh
ContCentric