<?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: How to disable user account with WS in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-disable-user-account-with-ws/m-p/253801#M206931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. But I don't&amp;nbsp; know where to inject MutableAuthenticationService object?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;private MutableAuthenticationService authenticationService;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I uses Axis for generating Java code according to WSDL for AuthenticationService. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for your answer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2011 13:24:10 GMT</pubDate>
    <dc:creator>moris86</dc:creator>
    <dc:date>2011-10-20T13:24:10Z</dc:date>
    <item>
      <title>How to disable user account with WS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-disable-user-account-with-ws/m-p/253799#M206929</link>
      <description>Hello,I have one question about user management with web services in Alfresco 3.4. I have already tried to create, update and delete users with WS and all worked fine. But I'm not allow to find solution how to disable user accouts.Can anybody help me, please?I know that it is possible to do with web</description>
      <pubDate>Tue, 18 Oct 2011 19:05:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-disable-user-account-with-ws/m-p/253799#M206929</guid>
      <dc:creator>moris86</dc:creator>
      <dc:date>2011-10-18T19:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable user account with WS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-disable-user-account-with-ws/m-p/253800#M206930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Moris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can achieve this via web service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Inject this service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;private MutableAuthenticationService authenticationService;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and try this one in your method which disable user account.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;authenticationService.setAuthenticationEnabled(userName, false);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this will help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mihir Mistry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 13:37:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-disable-user-account-with-ws/m-p/253800#M206930</guid>
      <dc:creator>mihir_mistry</dc:creator>
      <dc:date>2011-10-19T13:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable user account with WS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-disable-user-account-with-ws/m-p/253801#M206931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. But I don't&amp;nbsp; know where to inject MutableAuthenticationService object?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;private MutableAuthenticationService authenticationService;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I uses Axis for generating Java code according to WSDL for AuthenticationService. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for your answer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 13:24:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-disable-user-account-with-ws/m-p/253801#M206931</guid>
      <dc:creator>moris86</dc:creator>
      <dc:date>2011-10-20T13:24:10Z</dc:date>
    </item>
  </channel>
</rss>

