Hi,
once I saw this kind of macro which was a select list contained all Confluence groups. When you selected a group it listed the user members below it. I'm not expert at groovy yet but I suspect that it's not a big deal.
Maybe one of you already have it?
Thank you!