<?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: Creating users and groups in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166801#M120374</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;You can also create your own JavaScript API for users creation. You need to create a spring bean to do this, but this is quite simple to do with the foundation services. Afterwards you can use this API from JavaScript. For the creation and modification of groups there is no specific API in the WebService API, but you can manage this by creating the expected nodes in the &lt;/SPAN&gt;&lt;STRONG&gt;user://alfrescoUserStore&lt;/STRONG&gt;&lt;SPAN&gt; under the &lt;/SPAN&gt;&lt;STRONG&gt;/sys:system/sys:authorities&lt;/STRONG&gt;&lt;SPAN&gt; node. Have a look at these nodes using the Node Browser. You can do all this with WebScripts too as they can be backed by a Spring bean…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Links:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API#Adding_Custom_Script_APIs" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API#Adding_Custom_Script_APIs&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Java-backed_Web_Scripts" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Java-backed_Web_Scripts&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2008 14:21:45 GMT</pubDate>
    <dc:creator>cbosdonnat</dc:creator>
    <dc:date>2008-06-04T14:21:45Z</dc:date>
    <item>
      <title>Creating users and groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166798#M120371</link>
      <description>I want to have a script that sets my basic alfresco setup. This means creating users, groups and spaces. Using webservices I managed to create users and spaces but couldnt fint out how to create groups. Using Webscripts I cant see how I can create users. How would you go about this and is there no w</description>
      <pubDate>Wed, 14 May 2008 15:34:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166798#M120371</guid>
      <dc:creator>birgir</dc:creator>
      <dc:date>2008-05-14T15:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating users and groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166799#M120372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't add users AND groups using only web scripts or web services. You need to use both to accomplish that task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been struggling with Alfresco for many months and I'm now in the opinion that any serious customization coding for Alfresco should be done using their Foundation Services. I'm tired of running into the situation where I need to do something but guess what, that feature isn't implemented in Web Scripts or Web Services. With the Foundation Services, you have everything at your disposal and won't be as limited as with scripts &amp;amp; services. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd also like to suggest that instead of writing code to populate users, groups, spaces, templates, etc., look into using AMPs. I've found it takes less time to create the XML files to import things rather than writing code to do the same thing. This is proving useful for us to initially load our default setup into a clean install of Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 19:37:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166799#M120372</guid>
      <dc:creator>kumbach</dc:creator>
      <dc:date>2008-05-16T19:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating users and groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166800#M120373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Kevin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was a big help. Good to get a second opinion. I share your views and will reduce the frustrating search of functions and examples and rely more on the foundation services. Using AMPs for the setup sounds like a good idea.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 12:37:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166800#M120373</guid>
      <dc:creator>birgir</dc:creator>
      <dc:date>2008-05-20T12:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating users and groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166801#M120374</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;You can also create your own JavaScript API for users creation. You need to create a spring bean to do this, but this is quite simple to do with the foundation services. Afterwards you can use this API from JavaScript. For the creation and modification of groups there is no specific API in the WebService API, but you can manage this by creating the expected nodes in the &lt;/SPAN&gt;&lt;STRONG&gt;user://alfrescoUserStore&lt;/STRONG&gt;&lt;SPAN&gt; under the &lt;/SPAN&gt;&lt;STRONG&gt;/sys:system/sys:authorities&lt;/STRONG&gt;&lt;SPAN&gt; node. Have a look at these nodes using the Node Browser. You can do all this with WebScripts too as they can be backed by a Spring bean…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Links:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API#Adding_Custom_Script_APIs" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API#Adding_Custom_Script_APIs&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Java-backed_Web_Scripts" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Java-backed_Web_Scripts&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 14:21:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166801#M120374</guid>
      <dc:creator>cbosdonnat</dc:creator>
      <dc:date>2008-06-04T14:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating users and groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166802#M120375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; For the creation and modification of groups there is no specific API in the WebService API&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI, if you still wish to use Web Services (rather than move to Web Scripts) then it should be possible to manage groups (authorities) using the HEAD version of the AccessControl WebService. Although the wiki page appears to be out-of-date, here's a link to the related JavaDoc:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/remote-api/org/alfresco/repo/webservice/accesscontrol/AccessControlWebService.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/remote-api/org/alfresco/repo/webservice/accesscontrol/AccessControlWebService.html&lt;/A&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>Wed, 04 Jun 2008 17:06:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166802#M120375</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2008-06-04T17:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating users and groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166803#M120376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FYI, wiki page is here: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Access_Control_Web_Service_Enhancements" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Access_Control_Web_Service_Enhancements&lt;/A&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>Wed, 04 Jun 2008 20:55:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166803#M120376</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2008-06-04T20:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating users and groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166804#M120377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the link. I already have moved to webscripts because of performances: WebServices are really too slow for me and it's so easy to create interesting things with WebScripts….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;FYI, if you still wish to use Web Services (rather than move to Web Scripts) then it should be possible to manage groups (authorities) using the HEAD version of the AccessControl WebService. Although the wiki page appears to be out-of-date, here's a link to the related JavaDoc:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/remote-api/org/alfresco/repo/webservice/accesscontrol/AccessControlWebService.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/remote-api/org/alfresco/repo/webservice/accesscontrol/AccessControlWebService.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Cedric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 05:46:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166804#M120377</guid>
      <dc:creator>cbosdonnat</dc:creator>
      <dc:date>2008-06-05T05:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating users and groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166805#M120378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Cedric,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just wanted to know your experience so far with Web scripts compared to Foundation APIs. We are planning to use embedded verison of alfresco and will involve lot of custom code. My experience with Foundation classes has been good so far, but since I am returning to alfresco after a hiatus, I read more recommendations to use webscripts. But concerned that using web scripts will impact the performance as it requires a HTTP request for each operation and may not fit well if I want to retrieve lot of data. Can you please share your thoughts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Zafer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 20:38:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166805#M120378</guid>
      <dc:creator>mzafer</dc:creator>
      <dc:date>2008-08-11T20:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating users and groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166806#M120379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Zafer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm extending Alfresco both with webscripts and the foundation API. Webscripts are more for remote API definition or an easy way to extend the web client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't tell you what is more appropriate for your project as I don't know what it is all about &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cedric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 08:16:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-users-and-groups/m-p/166806#M120379</guid>
      <dc:creator>cbosdonnat</dc:creator>
      <dc:date>2008-08-18T08:16:13Z</dc:date>
    </item>
  </channel>
</rss>

