WordPress File wp-includes/user.php

wp_authenticate_spam_check()

For Multisite blogs, checks if the authenticated user has been marked as a spammer, or if the user’s primary blog has been marked as spam.