<?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 show all users from a group in my own JAVA application in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-show-all-users-from-a-group-in-my-own-java-application/m-p/307299#M260429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first-timer question here. I have successfully developed an AMP module and added aspects to documents. I have a Java Spring app that uses CMIS to show all these documents on a webpage with their added aspects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I have 2 groups in which my Alfresco users are divided: "Scientific" and "Commercial".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to have a separate page for each group (like &lt;/SPAN&gt;&lt;A href="http://www.example.com/myApp/docs/Scientific" rel="nofollow noopener noreferrer"&gt;www.example.com/myApp/docs/Scientific&lt;/A&gt;&lt;SPAN&gt;) which - in this case - lists the users in the 'Scientific' group. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds really simple, but I haven't found anything while Googling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running an older Alfresco CE (4.2.d or .e, don't remember exactly) and would like to do this through the CMIS module, be it with a query for instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried (as a test): &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ItemIterable&amp;lt;QueryResult&amp;gt; rs = CmisSession.getSession().query("SELECT * FROM cm:authorityContainer", false); &lt;BR /&gt;return "Total:"+rs.getTotalNumItems();&lt;SPAN class="line-numbers-rows"&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;BR /&gt;&lt;SPAN&gt;But it gives me an error: "Type is unsupported in query: cm:authorityContainer" probably because my Alfresco version is too low (I read you need at least 4.3.a).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also 'discovered' this: /alfresco/service/api/groups/Commercial/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I can't figure out how to list the users belonging to this group. Also, I would have to parse the JSON output and initially I'd prefer to stick to the CMIS since I'm already using it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated, thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 15:20:35 GMT</pubDate>
    <dc:creator>svedec</dc:creator>
    <dc:date>2015-10-15T15:20:35Z</dc:date>
    <item>
      <title>How to show all users from a group in my own JAVA application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-show-all-users-from-a-group-in-my-own-java-application/m-p/307299#M260429</link>
      <description>Hi everyone,first-timer question here. I have successfully developed an AMP module and added aspects to documents. I have a Java Spring app that uses CMIS to show all these documents on a webpage with their added aspects.Now, I have 2 groups in which my Alfresco users are divided: "Scientific" and "</description>
      <pubDate>Thu, 15 Oct 2015 15:20:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-show-all-users-from-a-group-in-my-own-java-application/m-p/307299#M260429</guid>
      <dc:creator>svedec</dc:creator>
      <dc:date>2015-10-15T15:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all users from a group in my own JAVA application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-show-all-users-from-a-group-in-my-own-java-application/m-p/307300#M260430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, looks like I'll have to use this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/alfresco/service/api/groups/Commercieel/children?authorityType=USER&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 08:26:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-show-all-users-from-a-group-in-my-own-java-application/m-p/307300#M260430</guid>
      <dc:creator>svedec</dc:creator>
      <dc:date>2015-10-16T08:26:11Z</dc:date>
    </item>
  </channel>
</rss>

