<?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: Create user script in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246514#M199644</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;this might be usefull: &lt;/SPAN&gt;&lt;A href="http://radomirml.com/2009/02/13/file-upload-with-httpcomponents-successor-of-commons-httpclient" rel="nofollow noopener noreferrer"&gt;http://radomirml.com/2009/02/13/file-upload-with-httpcomponents-successor-of-commons-httpclient&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course if you are using a language other than Java, you have to check how you may execute HTTP calls from your environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 16:23:29 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2012-08-14T16:23:29Z</dc:date>
    <item>
      <title>Create user script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246507#M199637</link>
      <description>Hello everybody, I'm new using alfresco and I'm having problems with a task in my job.All I need is to modify or find the way Alfresco inserts, modify or delete users, is there any script that Alfresco uses or something that I can handle ?I have my own database, with all my users from a mail service</description>
      <pubDate>Mon, 13 Aug 2012 15:26:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246507#M199637</guid>
      <dc:creator>darkmstr</dc:creator>
      <dc:date>2012-08-13T15:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create user script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246508#M199638</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;what type of script do you need? Do you mean a JavaScript action / script, or a web script as a remote API you could call from your service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 16:40:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246508#M199638</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-08-13T16:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create user script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246509#M199639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First of all does Alfresco have a script for the user creation, I'm using MySQL so how it makes the insertion ? cause if it is by a script I can call it when I do the insertion in the mail service, but if it isn't by a script how does it work ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to know it's how its the insertion made, not by the UI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 22:19:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246509#M199639</guid>
      <dc:creator>darkmstr</dc:creator>
      <dc:date>2012-08-13T22:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create user script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246510#M199640</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;Alfresco inserts users into the datatabase with dynamically generated SQL (based on &lt;/SPAN&gt;&lt;A href="http://blog.mybatis.org/" rel="nofollow noopener noreferrer"&gt;MyBatis&lt;/A&gt;&lt;SPAN&gt;). The database tables affected are alf_node, alf_node_child_assocs, alf_node_properties, alf_node_aspects, alf_authority and potentially one or two more, all with references / foreign keys to a couple of other, secondary tables. The data structure is very abstract and there is not simple table to just import users - users share the same structure as all the content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You should never attempt to insert new data into the Alfresco schema via direct access to the database layer. From an external service, the best way would to create users would be to call the CSV upload web script at /alfresco/s/api/people/upload (using POST) - or create your own web script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 08:37:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246510#M199640</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-08-14T08:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create user script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246511#M199641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry if I'm beign stupid or something, but the script that you mentioned is in the all in one installer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'cause I went to /alfresco/scripts, /alfresco/tomcat/webapps/alfresco/scripts, /alfresco/tomcat/webapps/alfresco/services, and there isn't anything like that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 13:31:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246511#M199641</guid>
      <dc:creator>darkmstr</dc:creator>
      <dc:date>2012-08-14T13:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create user script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246512#M199642</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;the &lt;/SPAN&gt;&lt;STRONG&gt;web script&lt;/STRONG&gt;&lt;SPAN&gt; I mentioned can be called via HTTP on the URI I posted. The actual files reside in different places - the code that handles the actual logic for CSV input and insertion is located in the Java class UserCSVUploadPost (part of the alfresco-remote-api.jar).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:53:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246512#M199642</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-08-14T14:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create user script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246513#M199643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you I misunderstood.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I have a script to import my database to a CSV format, also I can modifiy it that everytime I create an user create a CSV file for that user; however is there any way to import it in Alfresco not using the UI, sorry I'm new at this, and this are my practices for my University.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read about Web Services in Alfresco but I don't know how to get to them, also I don't know if they will work for this case, I've already know the problem with accesing directly to the DB layer in alfresco, it is pretty complicated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 16:00:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246513#M199643</guid>
      <dc:creator>darkmstr</dc:creator>
      <dc:date>2012-08-14T16:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create user script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246514#M199644</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;this might be usefull: &lt;/SPAN&gt;&lt;A href="http://radomirml.com/2009/02/13/file-upload-with-httpcomponents-successor-of-commons-httpclient" rel="nofollow noopener noreferrer"&gt;http://radomirml.com/2009/02/13/file-upload-with-httpcomponents-successor-of-commons-httpclient&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course if you are using a language other than Java, you have to check how you may execute HTTP calls from your environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 16:23:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246514#M199644</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-08-14T16:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create user script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246515#M199645</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;Thanks for your help I really appreciate it, yesterday my boss found out about this : localhost:8080/alfresco/api/AdministrationService?wsdl &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and we saw that this wsdl had a "CreateUsers", "UpdateUsers", "changePassword" and "deleteUsers" function, the problem is that the "createUsers" function is weird&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops: it does have a "username", "password" field, but the other fields are "name", "isMultiValue", "value" and "values" and it is twice, so have you used this wsdl ?' is there a place where I can find some info about it ? I've read this in the wiki :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Administration_Web_Service" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Administration_Web_Service&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/remote-api/org/alfresco/repo/webservice/administration/AdministrationWebService.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/remote-api/org/alfresco/repo/webservice/administration/AdministrationWebService.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're trying to see if we can use it by a soapclient, but as I told you using this website:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://soapclient.com/" rel="nofollow noopener noreferrer"&gt;http://soapclient.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know how are the users detail, I just know that it is an array but not how it the data in there, or how to really used it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 13:17:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246515#M199645</guid>
      <dc:creator>darkmstr</dc:creator>
      <dc:date>2012-08-15T13:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create user script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246516#M199646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nevermind I found use useful use the ifresco library.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 21:13:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-user-script/m-p/246516#M199646</guid>
      <dc:creator>darkmstr</dc:creator>
      <dc:date>2012-08-15T21:13:16Z</dc:date>
    </item>
  </channel>
</rss>

