If you change this setting in the group, only users in the group can see who is in the group. External users can’t see members.
If you search for a user on the site like in your screenshot, it wouldn’t identify what group they are in?