How can I use query.v1 (in YAML) to filter on Members that belong to a particular member group?
Asked
Active
Viewed 174 times
1 Answers
1
The internal name for MemberGroup is MemberLabel, and you can access the MemberGroups that a member belongs to using the MemberLabels attribute of the Member asset.
Here's a YAML query to filter on the MemberLabels.Name for a MemberGroup named "Developers":
from: Member
select:
- Name
- Username
where:
MemberLabels.Name: Developers
Alternatively, you could use a Filter statement.

acey.bunch
- 355
- 1
- 5