<?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 Re: Get all users of alfresco on java action in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/get-all-users-of-alfresco-on-java-action/m-p/57578#M20682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The pattern can be null, but your pattern of "*" is equally valid as both result in a DB SQL '%' (though Alfresco would be more efficient if it did not&amp;nbsp;do the LIKE condition in this case at all).&lt;/P&gt;&lt;P&gt;Your use of the PagingResult is incorrect (check the JavaDoc!). getPage is always guaranteed to give you the current page of results, while hasMoreItems only specifies that you can get another page in another call with a different PagingRequest. Since you retrieved all people in one request, hasMoreItems will always yield false, causing your code not to be reached.&amp;nbsp;PagingResult are not to be confused with regular Java iterators where your pattern of access would be correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Apr 2018 10:42:03 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2018-04-21T10:42:03Z</dc:date>
    <item>
      <title>Get all users of alfresco on java action</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-all-users-of-alfresco-on-java-action/m-p/57577#M20681</link>
      <description>Hi, i need to retrieve all the users of alfresco on a java action here the code i use :&amp;nbsp;&amp;nbsp; private NodeService nodeService;&amp;nbsp;&amp;nbsp; &amp;nbsp;private OwnableService ownableService;&amp;nbsp;&amp;nbsp; &amp;nbsp;private PersonService personService;&amp;nbsp;&amp;nbsp; &amp;nbsp;private PermissionService permissionService;&amp;nbsp;&amp;nbsp; &amp;nbsp;private AuthorityService authorityService;@O</description>
      <pubDate>Fri, 20 Apr 2018 13:41:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-all-users-of-alfresco-on-java-action/m-p/57577#M20681</guid>
      <dc:creator>AlfrescoZZZ</dc:creator>
      <dc:date>2018-04-20T13:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get all users of alfresco on java action</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-all-users-of-alfresco-on-java-action/m-p/57578#M20682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The pattern can be null, but your pattern of "*" is equally valid as both result in a DB SQL '%' (though Alfresco would be more efficient if it did not&amp;nbsp;do the LIKE condition in this case at all).&lt;/P&gt;&lt;P&gt;Your use of the PagingResult is incorrect (check the JavaDoc!). getPage is always guaranteed to give you the current page of results, while hasMoreItems only specifies that you can get another page in another call with a different PagingRequest. Since you retrieved all people in one request, hasMoreItems will always yield false, causing your code not to be reached.&amp;nbsp;PagingResult are not to be confused with regular Java iterators where your pattern of access would be correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2018 10:42:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-all-users-of-alfresco-on-java-action/m-p/57578#M20682</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-04-21T10:42:03Z</dc:date>
    </item>
  </channel>
</rss>

