12-06-2016 10:34 PM
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!
12-07-2016 03:01 AM
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.
12-07-2016 03:01 AM
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.
12-07-2016 03:18 AM
Cool thanks! Yeah I could just workout with the JSON response. Marking this as correct
12-08-2016 04:06 AM
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
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.