Use wp_get_users_of_group() to retrieve users assigned to a term:
wp_get_users_of_group()
$users = wp_get_users_of_group( array( 'taxonomy' => 'user-group', 'term' => 'editorial', 'term_by' => 'slug', ) );
See the Developer API for arguments, return values, membership helpers, and complete examples.
There was an error while loading. Please reload this page.
WP User Groups
Project