<?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 Empty people-nodes after people.getMembers() in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/empty-people-nodes-after-people-getmembers/m-p/215355#M168485</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;BR /&gt;&lt;SPAN&gt;I have a javascript where I want to send an email to all users in a group. I get all the users with the following line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; people.getMembers(people.getGroup('GROUP_My_Group')&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;The problem I encounter is when I would like to get some information out of the each people-node properties. The code below only prints "null".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var aMember = people[0];&lt;BR /&gt;var properties = aMember.properties;&lt;BR /&gt;logger.log(properties);&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;BR /&gt;&lt;SPAN&gt;Any idea why this happens. aMember gets the following printout:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Node Type: {&lt;A href="http://www.alfresco.org/model/content/1.0}person" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}person&lt;/A&gt;, Node Aspects: [{&lt;A href="http://www.alfresco.org/model/content/1.0}ownable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}ownable&lt;/A&gt;, {&lt;A href="http://www.alfresco.org/model/application/1.0}configurable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/application/1.0}configurable&lt;/A&gt;, {&lt;A href="http://www.alfresco.org/model/system/1.0}referenceable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/system/1.0}referenceable&lt;/A&gt;]&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;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roland&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jun 2010 10:00:00 GMT</pubDate>
    <dc:creator>buurd</dc:creator>
    <dc:date>2010-06-24T10:00:00Z</dc:date>
    <item>
      <title>Empty people-nodes after people.getMembers()</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/empty-people-nodes-after-people-getmembers/m-p/215355#M168485</link>
      <description>Hi!I have a javascript where I want to send an email to all users in a group. I get all the users with the following line: people.getMembers(people.getGroup('GROUP_My_Group')‍The problem I encounter is when I would like to get some information out of the each people-node properties. The code below o</description>
      <pubDate>Thu, 24 Jun 2010 10:00:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/empty-people-nodes-after-people-getmembers/m-p/215355#M168485</guid>
      <dc:creator>buurd</dc:creator>
      <dc:date>2010-06-24T10:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Empty people-nodes after people.getMembers()</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/empty-people-nodes-after-people-getmembers/m-p/215356#M168486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'member.properties' returns an associative array of properties.&amp;nbsp; I think you need to iterate over the keys to log each property value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Darryl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 18:48:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/empty-people-nodes-after-people-getmembers/m-p/215356#M168486</guid>
      <dc:creator>darryl_staflund</dc:creator>
      <dc:date>2010-06-24T18:48:39Z</dc:date>
    </item>
  </channel>
</rss>

