<p>Got it all sorted:</p>

<pre><code>{% if craft.users.group('myusergroup').total() &gt; 0 %}
</code></pre>

CC BY-SA 3.0
2016-05-17T15:37:32.067Z
2016-05-17T15:37:32.067Z
Christopher Healey
<p>How can i check if ANY users exist in a particular User Group? I know how to check the current user but not ALL users.</p>

<users><query>
How to Check All Users against UserGroup
# How to Check All Users against UserGroup

(Asked by: username_0 on 2016-05-17)

How can i check if ANY users exist in a particular User Group? I know how to check the current user but not ALL users.

**Tags:** users, query

---

## 1 answers

### Answer by username_0 on 2016-05-17. Score: 3 | Accepted answer

Got it all sorted:
{% if craft.users.group('myusergroup').total() > 0 %}


---

