<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Retrieving groups of users]]></title><description><![CDATA[<p dir="auto">I need to retrieve all users that are (examples) employees or residents via API. In the docs I've found that I can for example create such roles and assign users the according role. Or, I can create such groups and make users members of the according group. Yet I'm still scratching my head on how to exactly retrieve those users. I've found that using Elasticsearch (using the User Search APIs) I can create a query that retrieves the users. Is there maybe a simpler way that I'm missing? E.g. in <a href="https://fusionauth.io/docs/v1/tech/core-concepts/groups" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/core-concepts/groups</a> it says "Once a User is a member of a Group they may be identified as a member of the Group and retrieved using the Group APIs.", but I've not found how I can retrieve that user using the the Group APIs. Pointers highly appreciated, thanks</p>
]]></description><link>https://fusionauth.io/community/forum/topic/246/retrieving-groups-of-users</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 12:36:31 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/246.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Jul 2020 15:26:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Retrieving groups of users on Wed, 22 Jul 2020 15:53:08 GMT]]></title><description><![CDATA[<p dir="auto">Fix is live: <a href="https://github.com/FusionAuth/fusionauth-site/pull/147" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-site/pull/147</a></p>
]]></description><link>https://fusionauth.io/community/forum/post/663</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/663</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Wed, 22 Jul 2020 15:53:08 GMT</pubDate></item><item><title><![CDATA[Reply to Retrieving groups of users on Wed, 22 Jul 2020 15:28:02 GMT]]></title><description><![CDATA[<p dir="auto">If you use the search in the UI and open the ‘Advanced’ search controls you can search by group or application role. If you then click <code>Show Elasticsearch query</code> you’ll see how we are performing this search query.</p>
<p dir="auto">Using the API (as long as you are using the elasticsearch search engine) you can utilize the Elasticsearch Query String Query DSL, or a full JSON search query object.</p>
<p dir="auto">Example, to query by group membership where the group Id is <code>8e9225f9-6286-4bbb-9d4b-f75228018386</code>, you'd use a queryString of:</p>
<pre><code>memberships.groupId:8e9225f9-6286-4bbb-9d4b-f75228018386
</code></pre>
<p dir="auto">The groups API doc you reference is incorrect; we'll need to fix that.</p>
]]></description><link>https://fusionauth.io/community/forum/post/662</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/662</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Wed, 22 Jul 2020 15:28:02 GMT</pubDate></item></channel></rss>