<?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: set user password to a default value Test in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/set-user-password-to-a-default-value-test/m-p/285800#M238930</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;SPAN&gt;If you're belongs to alfresco administrator group then you should be able to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please have a look at api/person/changepassword webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;C:\Alfresco411\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\person\changepassword.post.desc.xml &lt;SPAN class="line-numbers-rows"&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;BR /&gt;&lt;SPAN&gt;Webscript:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're an administrator then just specify the new password to reset it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Post Method : &lt;/SPAN&gt;&lt;A href="http://localhost:8080/share/proxy/alfresco/api/person/changepassword/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share/proxy/alfresco/api/person/changepassword/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;userId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Param : {"newpw":"yournewpassword"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Java API:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to use java API then use authenticationService API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;authenticationService.setAuthentication(userName, newPassword.toCharArray());&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2013 07:11:06 GMT</pubDate>
    <dc:creator>muralidharand</dc:creator>
    <dc:date>2013-03-05T07:11:06Z</dc:date>
    <item>
      <title>set user password to a default value Test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/set-user-password-to-a-default-value-test/m-p/285799#M238929</link>
      <description>HI,I do not have a old password of a user, and i want to set the password to a default password of "Test".can i know, which api to call.</description>
      <pubDate>Mon, 04 Mar 2013 17:49:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/set-user-password-to-a-default-value-test/m-p/285799#M238929</guid>
      <dc:creator>gvarathan</dc:creator>
      <dc:date>2013-03-04T17:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: set user password to a default value Test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/set-user-password-to-a-default-value-test/m-p/285800#M238930</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;SPAN&gt;If you're belongs to alfresco administrator group then you should be able to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please have a look at api/person/changepassword webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;C:\Alfresco411\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\person\changepassword.post.desc.xml &lt;SPAN class="line-numbers-rows"&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;BR /&gt;&lt;SPAN&gt;Webscript:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're an administrator then just specify the new password to reset it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Post Method : &lt;/SPAN&gt;&lt;A href="http://localhost:8080/share/proxy/alfresco/api/person/changepassword/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share/proxy/alfresco/api/person/changepassword/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;userId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Param : {"newpw":"yournewpassword"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Java API:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to use java API then use authenticationService API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;authenticationService.setAuthentication(userName, newPassword.toCharArray());&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 07:11:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/set-user-password-to-a-default-value-test/m-p/285800#M238930</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2013-03-05T07:11:06Z</dc:date>
    </item>
  </channel>
</rss>

