<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>user list  null</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113521393" />
  <subtitle>user list  null</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113521393</id>
  <updated>2026-04-04T00:02:17Z</updated>
  <dc:date>2026-04-04T00:02:17Z</dc:date>
  <entry>
    <title>RE: user list  null</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113524116" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113524116</id>
    <updated>2019-05-04T16:28:23Z</updated>
    <published>2019-05-04T16:28:23Z</published>
    <summary type="html">This should work in principle.&lt;br /&gt;Print out the organizationId and compare it to the correct organizationId. I guess it is different.&lt;br /&gt;Could you please check the ids?&lt;br /&gt;&lt;br /&gt;If that doesn&amp;#39;t lead to something, please also post the Liferay version.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;- Your code assumes that you have created a site out of your organisation (there&amp;#39;s a checkbox for that).&lt;br /&gt;- You excute that code on a page of that site&lt;br /&gt;&lt;br /&gt;Maybe you are not on an organisation page?</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-05-04T16:28:23Z</dc:date>
  </entry>
  <entry>
    <title>user list  null</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113521392" />
    <author>
      <name>Ramalingaiah. D</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113521392</id>
    <updated>2019-05-04T10:47:13Z</updated>
    <published>2019-05-04T10:47:13Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi,&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;Group group = themeDisplay.getScopeGroup();
        Group currentGroup =  themeDisplay.getLayout().getGroup();
        long organizationId = currentGroup.getClassPK();
        
     List&amp;lt;com.liferay.portal.kernel.model.user&amp;gt; userInfoList=UserLocalServiceUtil.getOrganizationUsers(organizationId);
        
      &amp;amp;nbsp;System.out.println("userInfoList:"+userInfoList);&amp;amp;nbsp;&amp;lt;/com.liferay.portal.kernel.model.user&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;console error&amp;nbsp;&lt;br&gt;&lt;br&gt;userInfoList:[]&lt;br&gt;&lt;br&gt;thank you&amp;nbsp;&lt;br&gt;​​​​​​​Ram&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Ramalingaiah. D</dc:creator>
    <dc:date>2019-05-04T10:47:13Z</dc:date>
  </entry>
</feed>
