You might be thinking about the about_page_extra_groups setting which would indeed do that.
The setting above suppresses the users in that group from appearing in the other groups on the /about page. They will of course appear on the moderators group page, just not the /about page.
I remember this, as @pfaffman was quite excited about its implementation as he used to appear as an admin on tonnes of Discourse sites!