<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to search for all not disabled users with a CMIS query in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-search-for-all-not-disabled-users-with-a-cmis-query/m-p/143109#M38033</link>
    <description>&lt;P&gt;Today I come again to ask for help.&lt;/P&gt;&lt;P&gt;I need to filter out all the disabled users. So far I got this CMIS query to get the ID from every&amp;nbsp; user:&lt;/P&gt;&lt;PRE&gt;"SELECT cmis:objectId FROM cm:person WHERE cm:homeFolderProvider = 'userHomesHomeFolderProvider' "&lt;/PRE&gt;&lt;P&gt;Then, I got this query to get the ID from every disabled&amp;nbsp; user:&lt;/P&gt;&lt;PRE&gt;"SELECT cmis:objectId FROM cm:personDisabled"&lt;/PRE&gt;&lt;P&gt;So, to filter out all the disabled users, I query:&lt;/P&gt;&lt;PRE&gt;"SELECT cmis:objectId FROM cm:person WHERE cmis:objectID NOT IN (SELECT cmis:objectId FROM cm:personDisabled)"&lt;/PRE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I hope you can help me with this question.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ignacio&lt;/P&gt;</description>
    <pubDate>Wed, 08 Dec 2021 01:03:14 GMT</pubDate>
    <dc:creator>idebonis</dc:creator>
    <dc:date>2021-12-08T01:03:14Z</dc:date>
    <item>
      <title>How to search for all not disabled users with a CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-search-for-all-not-disabled-users-with-a-cmis-query/m-p/143109#M38033</link>
      <description>&lt;P&gt;Today I come again to ask for help.&lt;/P&gt;&lt;P&gt;I need to filter out all the disabled users. So far I got this CMIS query to get the ID from every&amp;nbsp; user:&lt;/P&gt;&lt;PRE&gt;"SELECT cmis:objectId FROM cm:person WHERE cm:homeFolderProvider = 'userHomesHomeFolderProvider' "&lt;/PRE&gt;&lt;P&gt;Then, I got this query to get the ID from every disabled&amp;nbsp; user:&lt;/P&gt;&lt;PRE&gt;"SELECT cmis:objectId FROM cm:personDisabled"&lt;/PRE&gt;&lt;P&gt;So, to filter out all the disabled users, I query:&lt;/P&gt;&lt;PRE&gt;"SELECT cmis:objectId FROM cm:person WHERE cmis:objectID NOT IN (SELECT cmis:objectId FROM cm:personDisabled)"&lt;/PRE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I hope you can help me with this question.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ignacio&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 01:03:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-search-for-all-not-disabled-users-with-a-cmis-query/m-p/143109#M38033</guid>
      <dc:creator>idebonis</dc:creator>
      <dc:date>2021-12-08T01:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for all not disabled users with a CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-search-for-all-not-disabled-users-with-a-cmis-query/m-p/143110#M38034</link>
      <description>&lt;P&gt;I guess you need some code at this point, since the information can't be retrieved using a single SQL Query.&lt;/P&gt;
&lt;P&gt;You need to perform 2 queries and filter out the disabled users.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 09:53:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-search-for-all-not-disabled-users-with-a-cmis-query/m-p/143110#M38034</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-12-13T09:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for all not disabled users with a CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-search-for-all-not-disabled-users-with-a-cmis-query/m-p/143111#M38035</link>
      <description>&lt;P&gt;Thanks, I had already resigned myself to this solution. I guess it is out of the CMIS boundaries.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 04:37:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-search-for-all-not-disabled-users-with-a-cmis-query/m-p/143111#M38035</guid>
      <dc:creator>idebonis</dc:creator>
      <dc:date>2021-12-14T04:37:01Z</dc:date>
    </item>
  </channel>
</rss>

