Title: Email validation based on user type
Last modified: August 22, 2016

---

# Email validation based on user type

 *  [joel8520](https://wordpress.org/support/users/joel8520/)
 * (@joel8520)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/email-validation-based-on-user-type/)
 * I want to have two types of user accounts on my website. One for students and
   one for others. The student user type will require a .edu email address while
   the other type will not.
 * I cannot find a plugin for anything like this so I figured I need to validate
   it in the code.
    I’m guessing ms-function.php would be a good place to start 
   but I am not sure. I found this function wpmu_validate_user_signup($user_name,
   $user_email) which seemed relevant.
 * I’m not really sure how to approach this issue. Any help would be greatly appreciated.

The topic ‘Email validation based on user type’ is closed to new replies.

## Tags

 * [Email Validation](https://wordpress.org/support/topic-tag/email-validation/)
 * [user types](https://wordpress.org/support/topic-tag/user-types/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [joel8520](https://wordpress.org/support/users/joel8520/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/email-validation-based-on-user-type/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
