<?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: Script to set quota for users in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/script-to-set-quota-for-users/m-p/75936#M24071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All you need is to execute a query to recover the users you want to work on, and then, use the following API:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var nodes = search.luceneSearch('+TYPE:"cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;erson"');&lt;BR /&gt;for each(var node in nodes) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; node.setQuota(user, "10240000"); // 10 MB&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/4.1/references/API-JS-setQuota.html" title="https://docs.alfresco.com/4.1/references/API-JS-setQuota.html" rel="nofollow noopener noreferrer"&gt;setQuota | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2018 23:22:06 GMT</pubDate>
    <dc:creator>douglascrp</dc:creator>
    <dc:date>2018-02-16T23:22:06Z</dc:date>
    <item>
      <title>Script to set quota for users</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/script-to-set-quota-for-users/m-p/75935#M24070</link>
      <description>Hello,I need a script to set&amp;nbsp;quota for hundreds of users.I'd appreciate if someone helps me accomplish this task.</description>
      <pubDate>Fri, 16 Feb 2018 17:00:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/script-to-set-quota-for-users/m-p/75935#M24070</guid>
      <dc:creator>hoomanv</dc:creator>
      <dc:date>2018-02-16T17:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Script to set quota for users</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/script-to-set-quota-for-users/m-p/75936#M24071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All you need is to execute a query to recover the users you want to work on, and then, use the following API:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var nodes = search.luceneSearch('+TYPE:"cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;erson"');&lt;BR /&gt;for each(var node in nodes) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; node.setQuota(user, "10240000"); // 10 MB&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/4.1/references/API-JS-setQuota.html" title="https://docs.alfresco.com/4.1/references/API-JS-setQuota.html" rel="nofollow noopener noreferrer"&gt;setQuota | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 23:22:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/script-to-set-quota-for-users/m-p/75936#M24071</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-02-16T23:22:06Z</dc:date>
    </item>
  </channel>
</rss>

