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.

1 Answer 1


Got it all sorted:

{% if craft.users.group('myusergroup').total() > 0 %}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.