<?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: Task's comment user in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/task-s-comment-user/m-p/89244#M60638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanx for the tip !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerome&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2012 07:33:22 GMT</pubDate>
    <dc:creator>jcavezian</dc:creator>
    <dc:date>2012-05-03T07:33:22Z</dc:date>
    <item>
      <title>Task's comment user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-s-comment-user/m-p/89241#M60635</link>
      <description>Hello,using Java APITaskService.addComment(String taskId, String processInstanceId, String message) ‍‍‍I can add a comment to a task.But I can't figure out how to set the user, author of the comment.Does any one know how to do that ?Thank you.Jerome</description>
      <pubDate>Wed, 02 May 2012 11:36:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-s-comment-user/m-p/89241#M60635</guid>
      <dc:creator>jcavezian</dc:creator>
      <dc:date>2012-05-02T11:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Task's comment user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-s-comment-user/m-p/89242#M60636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally I could figure it out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to call&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;IdentityService.setAuthenticatedUserId(String authenticatedUserId)&lt;/CODE&gt;&lt;SPAN&gt;before, in the same thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this will help…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerome&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 13:56:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-s-comment-user/m-p/89242#M60636</guid>
      <dc:creator>jcavezian</dc:creator>
      <dc:date>2012-05-02T13:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Task's comment user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-s-comment-user/m-p/89243#M60637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;or use&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;Authentication.setAuthenticatedUserId(authenticatedUserId);&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do not have the identityService, because that is what&amp;nbsp; IdentityService.setAuthenticatedUserId(String authenticatedUserId) does:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;nbsp; public void setAuthenticatedUserId(String authenticatedUserId) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Authentication.setAuthenticatedUserId(authenticatedUserId);&lt;BR /&gt;&amp;nbsp; }&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 15:20:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-s-comment-user/m-p/89243#M60637</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-05-02T15:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Task's comment user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-s-comment-user/m-p/89244#M60638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanx for the tip !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerome&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 07:33:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-s-comment-user/m-p/89244#M60638</guid>
      <dc:creator>jcavezian</dc:creator>
      <dc:date>2012-05-03T07:33:22Z</dc:date>
    </item>
  </channel>
</rss>

