<?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 Need some documentation to understand the API to be used to get list of all active and inactive user in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/need-some-documentation-to-understand-the-api-to-be-used-to-get/m-p/36410#M15371</link>
    <description>&lt;P&gt;Need some documentation to understand the API to be used to get list of all active and inactive users and their last login, we want to explicitly mark them inactive if not logged in last couple of days.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2023 21:39:25 GMT</pubDate>
    <dc:creator>gundeep08</dc:creator>
    <dc:date>2023-02-02T21:39:25Z</dc:date>
    <item>
      <title>Need some documentation to understand the API to be used to get list of all active and inactive user</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/need-some-documentation-to-understand-the-api-to-be-used-to-get/m-p/36410#M15371</link>
      <description>&lt;P&gt;Need some documentation to understand the API to be used to get list of all active and inactive users and their last login, we want to explicitly mark them inactive if not logged in last couple of days.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 21:39:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/need-some-documentation-to-understand-the-api-to-be-used-to-get/m-p/36410#M15371</guid>
      <dc:creator>gundeep08</dc:creator>
      <dc:date>2023-02-02T21:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need some documentation to understand the API to be used to get list of all active and inactive</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/need-some-documentation-to-understand-the-api-to-be-used-to-get/m-p/36411#M15372</link>
      <description>&lt;P&gt;The &lt;EM&gt;UserService&lt;/EM&gt; allows you to get all the active users in the following way:&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;If you need a list of users as result:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;List&amp;lt;User&amp;gt; findUsers(String filter, boolean applyFilterOnEmail, String email, String externalId, String externalIdCaseInsensitive,&amp;nbsp;UserStatus userStatus, AccountType accountType, String company, ArrayList&amp;lt;Long&amp;gt; groupIds, ArrayList&amp;lt;Long&amp;gt; userIds, Long tenantId, boolean includePrimaryGroups, Pageable pageable);&lt;/PRE&gt;


&lt;P class="p2"&gt;Or if you need just the number (long) of results for your query:&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Long countUsers(String filter, boolean applyFilterOnEmail, String email, String externalId, String externalIdCaseInsensitive,&amp;nbsp;UserStatus userStatus, AccountType accountType, String company, ArrayList&amp;lt;Long&amp;gt; groupIds, Long tenantId);&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Feb 2023 13:59:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/need-some-documentation-to-understand-the-api-to-be-used-to-get/m-p/36411#M15372</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2023-02-13T13:59:29Z</dc:date>
    </item>
  </channel>
</rss>

