<?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 Get User Properites from a group in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-user-properites-from-a-group/m-p/189969#M143099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey There,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently developing my first workflow. My goal is to assign a task to a group (completed) and email that group to let them know they have stuff to do. I realize this can be accomplished using rules etc. but I want to do it by hand to get a better understanding of advanced workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have succesfully used the&amp;nbsp; following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var members = people.getMembers(people.getGroup("GROUP_HelloWorld"));&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;SPAN&gt;Now the logic in my head says I should be able to loop through the array that comes back from members and perform some sort of magic voodoo to get that users properties (in my case email address or at a very minimum username)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;member = people.getPerson(members[x]);&lt;BR /&gt;username = member.propeties.username&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;but that doesn't work. I've also tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt;member = members[x];&lt;BR /&gt;username = member.username&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;but that fails as well. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help that the experts, or at least slightly more advanced them me could provide on this would be greatly appriciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;S.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2009 03:55:31 GMT</pubDate>
    <dc:creator>kregers</dc:creator>
    <dc:date>2009-01-21T03:55:31Z</dc:date>
    <item>
      <title>Get User Properites from a group</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-user-properites-from-a-group/m-p/189969#M143099</link>
      <description>Hey There,I'm currently developing my first workflow. My goal is to assign a task to a group (completed) and email that group to let them know they have stuff to do. I realize this can be accomplished using rules etc. but I want to do it by hand to get a better understanding of advanced workflow.I h</description>
      <pubDate>Wed, 21 Jan 2009 03:55:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-user-properites-from-a-group/m-p/189969#M143099</guid>
      <dc:creator>kregers</dc:creator>
      <dc:date>2009-01-21T03:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get User Properites from a group</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-user-properites-from-a-group/m-p/189970#M143100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Would this do the trick:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;member = people.getPerson("admin");&lt;BR /&gt;username = member.properties.userName;&lt;BR /&gt;email = member.properties["{&lt;A href="http://www.alfresco.org/model/content/1.0}email" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}email&lt;/A&gt;"];&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;might be just the case of "username" and the "propeties" typo in your post?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2009 05:37:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-user-properites-from-a-group/m-p/189970#M143100</guid>
      <dc:creator>lotharm</dc:creator>
      <dc:date>2009-01-21T05:37:53Z</dc:date>
    </item>
  </channel>
</rss>

