<?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 List all users in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/list-all-users/m-p/216802#M169932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is possible to search for users from within the Alfresco admin console but I would like to list ALL users, not just a subset relating to some particular query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an elegant way of doing this? It seems obvious to me that it should be but I can't seem to figure out how, a bit frustrating.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fred&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2010 01:02:02 GMT</pubDate>
    <dc:creator>montreux</dc:creator>
    <dc:date>2010-02-25T01:02:02Z</dc:date>
    <item>
      <title>List all users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-all-users/m-p/216802#M169932</link>
      <description>It is possible to search for users from within the Alfresco admin console but I would like to list ALL users, not just a subset relating to some particular query.Is there an elegant way of doing this? It seems obvious to me that it should be but I can't seem to figure out how, a bit frustrating.Than</description>
      <pubDate>Thu, 25 Feb 2010 01:02:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-all-users/m-p/216802#M169932</guid>
      <dc:creator>montreux</dc:creator>
      <dc:date>2010-02-25T01:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: List all users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-all-users/m-p/216803#M169933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did someone figure this out. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In any screen which asks for selecting users / groups - I am forced to type something in the search box. But I would like to view all users, so I can select a user from the list. [in screens such as inviting users to sites, assigning roles, viewing users, groups]. Why am I forced to enter a filer, what should I do if I want to view all the users? Looks like there is no way - wonder why!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 19:40:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-all-users/m-p/216803#M169933</guid>
      <dc:creator>nsquare</dc:creator>
      <dc:date>2010-05-18T19:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: List all users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-all-users/m-p/216804#M169934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This functionality isn't exposed as a web service – for security reasons no doubt.&amp;nbsp; But if you take a look at the following service class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.alfresco.service.cmr.security.AuthorityService&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;you will find the methods you are looking for, in particular:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Set&amp;lt;String&amp;gt; getAuthoritiesForUser(String userName);&lt;BR /&gt;Set&amp;lt;String&amp;gt; getAllAuthorities(AuthorityType type);&lt;BR /&gt;Set&amp;lt;String&amp;gt; getAllRootAuthorities(AuthorityType type);&lt;BR /&gt;Set&amp;lt;String&amp;gt; getContainedAuthorities(AuthorityType type);&lt;BR /&gt;Set&amp;lt;String&amp;gt; getContainingAuthorities(AuthorityType type);&lt;BR /&gt;Set&amp;lt;String&amp;gt; getAllAuthoritiesInInZone(String zoneName, AuthorityType type);&lt;BR /&gt;Set&amp;lt;String&amp;gt; getAllRootAuthoritiesInZone(String zoneName, AuthorityType type);&lt;BR /&gt;Set&amp;lt;String&amp;gt; findAuthorities(AuthorityType type, String parentauthority, boolean immediate, String displayNamePattern, String zoneName);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also take a look at the following class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.alfresco.service.cmr.security.PersonService&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In particular, the following methods:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;NodeRef getPerson(String userName);&lt;BR /&gt;NodeRef getPerson(String userName, boolean autoCreate);&lt;BR /&gt;Set&amp;lt;NodeRef&amp;gt; getAllPeople();&lt;BR /&gt;Set&amp;lt;NodeRef&amp;gt; getPeopleFilteredByProperty(QName propertyKey, Serializable propertyValue);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Darryl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 21:12:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-all-users/m-p/216804#M169934</guid>
      <dc:creator>darryl_staflund</dc:creator>
      <dc:date>2010-05-31T21:12:46Z</dc:date>
    </item>
  </channel>
</rss>

