<?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 [Solved] How to remove hundreds of users in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-how-to-remove-hundreds-of-users/m-p/254843#M207973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bonjour,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm doing some LDAP import tests and I would like to reset my user repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can follow this tutorial &lt;/SPAN&gt;&lt;A href="http://www.alfresco.com/help/34/community/all/tasks/adminconsole-user-delete.html" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.com/help/34/community/all/tasks/adminconsole-user-delete.html&lt;/A&gt;&lt;SPAN&gt; but I have hundred of users …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know users are created in alf_authority table but I assume this table is linked to another table. So I can't delete all users from this table (foreign key can't be null).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my question is :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a procedure to reset the user repository ou a sql script to remove all users from share ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2011 15:34:57 GMT</pubDate>
    <dc:creator>stef44</dc:creator>
    <dc:date>2011-04-18T15:34:57Z</dc:date>
    <item>
      <title>[Solved] How to remove hundreds of users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-how-to-remove-hundreds-of-users/m-p/254843#M207973</link>
      <description>Bonjour,I'm doing some LDAP import tests and I would like to reset my user repository.I can follow this tutorial http://www.alfresco.com/help/34/community/all/tasks/adminconsole-user-delete.html but I have hundred of users …I know users are created in alf_authority table but I assume this table is l</description>
      <pubDate>Mon, 18 Apr 2011 15:34:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-how-to-remove-hundreds-of-users/m-p/254843#M207973</guid>
      <dc:creator>stef44</dc:creator>
      <dc:date>2011-04-18T15:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: [Solved] How to remove hundreds of users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-how-to-remove-hundreds-of-users/m-p/254844#M207974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've succeeded doing it using &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/The_Synchronization_Subsystem" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/The_Synchronization_Subsystem&lt;/A&gt;&lt;SPAN&gt;. But i can't resynchronize anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the log, there is no error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;12:37:25,632 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Synchronizing users and groups with user registry 'ldap1'&lt;BR /&gt;12:37:25,647 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Retrieving groups changed since 19 avr. 2011 09:34:06 from user registry 'ldap1'&lt;BR /&gt;12:37:25,694 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] ldap1 Group Analysis: Commencing batch of 0 entries&lt;BR /&gt;12:37:25,710 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] ldap1 Group Analysis: Completed batch of 0 entries&lt;BR /&gt;12:37:25,710 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Retrieving users changed since 19 avr. 2011 11:31:48 from user registry 'ldap1'&lt;BR /&gt;12:37:25,741 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] ldap1 User Creation and Association: Commencing batch of 0 entries&lt;BR /&gt;12:37:25,741 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] ldap1 User Creation and Association: Completed batch of 0 entries&lt;BR /&gt;12:37:25,881 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Finished synchronizing users and groups with user registry 'ldap1'&lt;BR /&gt;12:37:25,881 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] 0 user(s) and 0 group(s) processed&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;The system keeps in mind the last synchronization time and date and no user is loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 11:49:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-how-to-remove-hundreds-of-users/m-p/254844#M207974</guid>
      <dc:creator>stef44</dc:creator>
      <dc:date>2011-04-19T11:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Solved] How to remove hundreds of users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-how-to-remove-hundreds-of-users/m-p/254845#M207975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some good news.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I've misundestood the way the Differential With Deletions Synchronization Mode works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;During my tests, I was changing the query to load differents kinds of users (all users or users with a king of accountControl, …).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I thought Alfresco loaded "new" users even if their modifyTimestamp attribute was older than the last synchronization. But Alfresco compares the timestamp first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, for my tests, I think I have to use the full synchronization mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 07:55:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-how-to-remove-hundreds-of-users/m-p/254845#M207975</guid>
      <dc:creator>stef44</dc:creator>
      <dc:date>2011-04-20T07:55:46Z</dc:date>
    </item>
  </channel>
</rss>

