Today I come again to ask for help.
I need to filter out all the disabled users. So far I got this CMIS query to get the ID from every user:
"SELECT cmis:objectId FROM cm:person WHERE cm:homeFolderProvider = 'userHomesHomeFolderProvider' "
Then, I got this query to get the ID from every disabled user:
"SELECT cmis:objectId FROM cm:personDisabled"
So, to filter out all the disabled users, I query:
"SELECT cmis:objectId FROM cm:person WHERE cmis:objectID NOT IN (SELECT cmis:objectId FROM cm:personDisabled)"
But the software runs into an error. I'm testing this with cmislib3 for python, the node browser inside alfresco and want to develop a javascript webscript to send mails to every active user.
I hope you can help me with this question.
Best regards,
Ignacio