Sure! I’ve got a filter for login_redirect that upon users logging in it checks if they belong to a specific user group by getting that users groups via this function and then looping through the users groups to match based on the group_name. If it returns true then users belonging to that group are redirected to a specific management page.
$userGroups = pp_get_groups_for_user($user->ID);
foreach( $userGroups as $userGroup ){
if( $userGroup->group_name == 'Wait Time' ){
$waitTimeUser = true;
}
}