<?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: Setting the user password in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/setting-the-user-password/m-p/209046#M162176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A "person" is not a "user" (each user has an associated "person" object though). The "person" doesn't include account information other than the username (to match it to a "user").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In short: you cannot create users via JavaScript, you have to use Java; either coding your webscript in Java (see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/2.1_Web_Scripts#Java-backed_Web_Scripts" rel="nofollow noopener noreferrer"&gt;Java-backed Web Scripts&lt;/A&gt;&lt;SPAN&gt; in the doc; that's what Alfresco does when inviting external users from Share) or creating a BaseScopableProcessorExtension-derived object with a createUser method, that you make available for scripting (see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API_For_Alfresco_2.1#Adding_Custom_Script_APIs" rel="nofollow noopener noreferrer"&gt;Adding Custom Script APIs&lt;/A&gt;&lt;SPAN&gt;, that's what we've done on a project, because we already had plenty of other extensions).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(links I gave are for pre-3.0 releases, but the same applies for Alfresco 3)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2009 11:13:09 GMT</pubDate>
    <dc:creator>t_broyer</dc:creator>
    <dc:date>2009-01-06T11:13:09Z</dc:date>
    <item>
      <title>Setting the user password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-the-user-password/m-p/209045#M162175</link>
      <description>Hi, I have a little problem, I want to create a user thru webscript and found out that there is a People API but there is only a createPerson option. Now my problem is how to set the password for the user to be created?</description>
      <pubDate>Tue, 06 Jan 2009 09:32:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-the-user-password/m-p/209045#M162175</guid>
      <dc:creator>chinitovela</dc:creator>
      <dc:date>2009-01-06T09:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the user password</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-the-user-password/m-p/209046#M162176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A "person" is not a "user" (each user has an associated "person" object though). The "person" doesn't include account information other than the username (to match it to a "user").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In short: you cannot create users via JavaScript, you have to use Java; either coding your webscript in Java (see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/2.1_Web_Scripts#Java-backed_Web_Scripts" rel="nofollow noopener noreferrer"&gt;Java-backed Web Scripts&lt;/A&gt;&lt;SPAN&gt; in the doc; that's what Alfresco does when inviting external users from Share) or creating a BaseScopableProcessorExtension-derived object with a createUser method, that you make available for scripting (see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API_For_Alfresco_2.1#Adding_Custom_Script_APIs" rel="nofollow noopener noreferrer"&gt;Adding Custom Script APIs&lt;/A&gt;&lt;SPAN&gt;, that's what we've done on a project, because we already had plenty of other extensions).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(links I gave are for pre-3.0 releases, but the same applies for Alfresco 3)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 11:13:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-the-user-password/m-p/209046#M162176</guid>
      <dc:creator>t_broyer</dc:creator>
      <dc:date>2009-01-06T11:13:09Z</dc:date>
    </item>
  </channel>
</rss>

