<?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 Get tenant names and users under each tenant in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-tenant-names-and-users-under-each-tenant/m-p/223143#M176273</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;I was wondering if it is possible to get tenant names and the users under them(using a script). I've written a script which returns all the users under the admin login. I have not come across any documentation or API which can allow me to get tenant names by running the script as a super admin. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Mar 2010 13:27:28 GMT</pubDate>
    <dc:creator>sukumarpant</dc:creator>
    <dc:date>2010-03-08T13:27:28Z</dc:date>
    <item>
      <title>Get tenant names and users under each tenant</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-tenant-names-and-users-under-each-tenant/m-p/223143#M176273</link>
      <description>Hi,I was wondering if it is possible to get tenant names and the users under them(using a script). I've written a script which returns all the users under the admin login. I have not come across any documentation or API which can allow me to get tenant names by running the script as a super admin. I</description>
      <pubDate>Mon, 08 Mar 2010 13:27:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-tenant-names-and-users-under-each-tenant/m-p/223143#M176273</guid>
      <dc:creator>sukumarpant</dc:creator>
      <dc:date>2010-03-08T13:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get tenant names and users under each tenant</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-tenant-names-and-users-under-each-tenant/m-p/223144#M176274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As super admin, you can show the list of tenants using the tenant admin console (refer to TenantInterpreter.java). To get a list of all people/usernames you can use the REST interface "/api/people" (refer to People.java and PersonService.java [getAllPeople]).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In a similar way, you could write a Java-backed web script to access the TenantAdminService and PersonService. To get all the users under each tenant would require looping through each tenant and switching context when getting the people (refer to AuthenticationUtil.java [runAs]).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 09:25:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-tenant-names-and-users-under-each-tenant/m-p/223144#M176274</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2010-03-09T09:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get tenant names and users under each tenant</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-tenant-names-and-users-under-each-tenant/m-p/223145#M176275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi janv&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can u explain in details about it. i am new to alfresco. if possible send any example regarding this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chandu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 13:57:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-tenant-names-and-users-under-each-tenant/m-p/223145#M176275</guid>
      <dc:creator>chandu7ee</dc:creator>
      <dc:date>2010-03-12T13:57:53Z</dc:date>
    </item>
  </channel>
</rss>

