<?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: List of Sites and their Members in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291712#M244842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't have any 4.1.1 installed so I went with a 4.1.2 instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I went with the following script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var sites = siteService.listSites(null,null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for(var i = 0; i&amp;lt;sites.length;i++) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;logger.log(sites&lt;/SPAN&gt;&lt;EM&gt;)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var siteMembers = sites&lt;EM&gt;.listMembers(null, null, 0, true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (var authorityName in siteMembers) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;logger.log("–"+authorityName);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/blockcode&amp;gt;&lt;BR /&gt;That is a simplified version of your that I was too lazy to fully rewrite.&lt;BR /&gt;&lt;BR /&gt;Works like a charm for me.&lt;BR /&gt;Could you please test it in your environment?&lt;/EM&gt;&lt;/EM&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jan 2014 14:13:00 GMT</pubDate>
    <dc:creator>scouil</dc:creator>
    <dc:date>2014-01-20T14:13:00Z</dc:date>
    <item>
      <title>List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291706#M244836</link>
      <description>Hello All, I get this error message when i run this script&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;lease correct the errors below then click Finish. Failed to run Actions due to error: 00161191185 Failed to execute script 'workspace://SpacesStore/607264e5-ec14-464b-bfbd-cf77b043bc8b': 00161191184 An authority was not found for GROUP_site</description>
      <pubDate>Thu, 16 Jan 2014 17:22:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291706#M244836</guid>
      <dc:creator>parkea07</dc:creator>
      <dc:date>2014-01-16T17:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291707#M244837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is my script&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 17:40:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291707#M244837</guid>
      <dc:creator>parkea07</dc:creator>
      <dc:date>2014-01-16T17:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291708#M244838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It looks like it's failing when searching members in one of the groups of the site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please check that the group for the site "enfold" has a subgroup for siteCollaborator and that it wasn't removed by mistake &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would it crash if you used listMembers(null, null, 0, false)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or if you had at least 1 user in each of the groups of the site (1 for each role)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, what's your alfresco version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 14:42:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291708#M244838</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2014-01-17T14:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291709#M244839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the Version is 4.1.1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The listmembers method no matter the type of parameters i set, will not work.Would this be an issue to how our sites were created?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 17:25:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291709#M244839</guid>
      <dc:creator>parkea07</dc:creator>
      <dc:date>2014-01-17T17:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291710#M244840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;members = sites&lt;/SPAN&gt;&lt;EM&gt;.listMembers("", "", 0, false);&lt;BR /&gt;&lt;BR /&gt;Still got the same error message&lt;BR /&gt;&lt;BR /&gt;Please correct the errors below then click Finish. &lt;BR /&gt;Failed to run Actions due to error: 00171307502 Failed to execute script 'workspace://SpacesStore/df1c99ef-307c-479c-be21-813ab666897e': 00171307501 An authority was not found for GROUP_site_enfold_SiteCollaborator &lt;BR /&gt;&lt;/EM&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 18:03:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291710#M244840</guid>
      <dc:creator>parkea07</dc:creator>
      <dc:date>2014-01-17T18:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291711#M244841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;members = sites&lt;/SPAN&gt;&lt;EM&gt;.listMembers("", "", 0, false);&lt;BR /&gt;&lt;BR /&gt;Still got the same error message&lt;BR /&gt;&lt;BR /&gt;Please correct the errors below then click Finish. &lt;BR /&gt;Failed to run Actions due to error: 00171307502 Failed to execute script 'workspace://SpacesStore/df1c99ef-307c-479c-be21-813ab666897e': 00171307501 An authority was not found for GROUP_site_enfold_SiteCollaborator &lt;BR /&gt;&lt;/EM&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 18:03:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291711#M244841</guid>
      <dc:creator>parkea07</dc:creator>
      <dc:date>2014-01-17T18:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291712#M244842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't have any 4.1.1 installed so I went with a 4.1.2 instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I went with the following script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var sites = siteService.listSites(null,null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for(var i = 0; i&amp;lt;sites.length;i++) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;logger.log(sites&lt;/SPAN&gt;&lt;EM&gt;)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var siteMembers = sites&lt;EM&gt;.listMembers(null, null, 0, true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (var authorityName in siteMembers) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;logger.log("–"+authorityName);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/blockcode&amp;gt;&lt;BR /&gt;That is a simplified version of your that I was too lazy to fully rewrite.&lt;BR /&gt;&lt;BR /&gt;Works like a charm for me.&lt;BR /&gt;Could you please test it in your environment?&lt;/EM&gt;&lt;/EM&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 14:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291712#M244842</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2014-01-20T14:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291713#M244843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Scouil, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried your script out and i still got the authority error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please correct the errors below then click Finish. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to run Actions due to error: 0021153589 Failed to execute script 'workspace://SpacesStore/df1c99ef-307c-479c-be21-813ab666897e': 0021153588 An authority was not found for GROUP_site_enfold_SiteCollaborator&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the must be an issue to how the sites were created.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 16:14:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291713#M244843</guid>
      <dc:creator>parkea07</dc:creator>
      <dc:date>2014-01-21T16:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291714#M244844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So yes I believe your "enfold" site has something wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd go with the fact that the collaborator group for it has been removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry to ask for the same check again but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please check that the group for the site "enfold" has a subgroup for siteCollaborator and that it wasn't removed by mistake&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(through the admin panel browse to the "enfold (GROUP_site_enfold)" group and look at the subgroups)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS; if this site was just copied through a migration or manually created in companyhome &amp;gt; Sites &amp;gt; enfold , that is probably the cause of the bug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 17:15:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291714#M244844</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2014-01-21T17:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291715#M244845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have confirmed that the site enfold has errors in the properties. We are going to send a ticket to Alfresco about this particular site. The site itself could not be accessed, but appears to still resides in the site folder. Thanks for your help &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 18:21:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291715#M244845</guid>
      <dc:creator>parkea07</dc:creator>
      <dc:date>2014-01-21T18:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: List of Sites and their Members</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291716#M244846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're welcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you could please post Alfresco's answer about how to fix or remove the said site before closing the topic, I'm sure it could help others.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 09:18:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/list-of-sites-and-their-members/m-p/291716#M244846</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2014-01-22T09:18:27Z</dc:date>
    </item>
  </channel>
</rss>

