<?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: Search in Groups and People in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111319#M31112</link>
    <description>&lt;P&gt;This is working and can you please help me with WHERE condition? How can i search all groups and users starting with "ma"? Thank you&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Annotation 2020-04-06 152633.png" style="width: 427px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/547i75318E1289C420A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Apr 2020 13:27:51 GMT</pubDate>
    <dc:creator>pdovhomilja</dc:creator>
    <dc:date>2020-04-06T13:27:51Z</dc:date>
    <item>
      <title>Search in Groups and People</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111315#M31108</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i would like to know, how can i search in groups an people at once? I need to search in groups and people and sort them alphabetically.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 11:34:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111315#M31108</guid>
      <dc:creator>pdovhomilja</dc:creator>
      <dc:date>2020-04-06T11:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Search in Groups and People</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111316#M31109</link>
      <description>&lt;P&gt;Is Java API an option?&lt;/P&gt;
&lt;P&gt;&lt;A href="http://dev.alfresco.com/resource/AlfrescoOne/5.1/PublicAPI/org/alfresco/service/cmr/security/AuthorityService.html#findAuthorities(org.alfresco.service.cmr.security.AuthorityType,%20java.lang.String,%20boolean,%20java.lang.String,%20java.lang.String" target="_blank" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/AlfrescoOne/5.1/PublicAPI/org/alfresco/service/cmr/security/AuthorityService.html#findAuthorities(org.alfresco.service.cmr.security.AuthorityType,%20java.lang.String,%20boolean,%20java.lang.String,%20java.lang.String&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 11:56:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111316#M31109</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-04-06T11:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Search in Groups and People</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111317#M31110</link>
      <description>&lt;P&gt;I don't think so, we are using only Rest API by own backend writen in .NET Core and frontend writen in ReactJS.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 12:29:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111317#M31110</guid>
      <dc:creator>pdovhomilja</dc:creator>
      <dc:date>2020-04-06T12:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Search in Groups and People</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111318#M31111</link>
      <description>&lt;P&gt;You can try then something like this:&lt;/P&gt;
&lt;PRE&gt;{
  "query": {
    "query": "select * from cm:authority",
    "language": "cmis"
  }
}&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Apr 2020 12:40:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111318#M31111</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-04-06T12:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Search in Groups and People</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111319#M31112</link>
      <description>&lt;P&gt;This is working and can you please help me with WHERE condition? How can i search all groups and users starting with "ma"? Thank you&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Annotation 2020-04-06 152633.png" style="width: 427px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/547i75318E1289C420A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 13:27:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111319#M31112</guid>
      <dc:creator>pdovhomilja</dc:creator>
      <dc:date>2020-04-06T13:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Search in Groups and People</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111320#M31113</link>
      <description>&lt;P&gt;I guess you can't do this in a single REST invocation.&lt;/P&gt;
&lt;P&gt;You need to filter groups in the first step...&lt;/P&gt;
&lt;PRE&gt;{
  "query": {
    "query": "SELECT * FROM cm:authorityContainer WHERE cm:authorityName like 'GROUP_ma%'",
    "language": "cmis"
  },
  "include": "properties"
}&lt;/PRE&gt;
&lt;P&gt;... and to filter users later.&lt;/P&gt;
&lt;PRE&gt;{
  "query": {
    "query": "SELECT * FROM cm:person WHERE cm:userName like 'ma%'",
    "language": "cmis"
  },
  "include": "properties"
}&lt;/PRE&gt;
&lt;P&gt;So you can merge the lists in your UI.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 14:15:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-in-groups-and-people/m-p/111320#M31113</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-04-06T14:15:20Z</dc:date>
    </item>
  </channel>
</rss>

