I have various users on a Drupal site.
Internally, I differentiate between users by user role (e.g. 'member', 'non-member').
Is it possible that if a user has a certain user role, that I prevent them from having a user page that is visible to the public?
E.g., if user 10018 has user role 'non-member', how can I prevent user page (site.com/user/10018/) from being visible to the public and users of role 'member'?
Basically, I don't want to delete 'non-member' users unless it's absolutely necessary - but I don't want them to have user pages that are visible to anyone other than site admins.