By default, the platform does not have this option. You can use the following CSS code.
Please follow the steps below:
1. Go to BuddyBoss – Theme Options
2. Under Custom Codes, enable CSS
3. Append the following:
.groups li#members-groups-li {
display: none;
}
If you want to apply this to a specific group only, you need to add the group name class as a prefix. After that, you can hide members list from specific group. Please follow this video.