Automatically assign user role based on email domain?
-
Hello! I assume I already know the answer to this question but maybe you all will have some suggestions. We run a subscription site for our customers and company employees that acts as a hub for our software documentation, tutorial videos, etc. We send our customers a registration link once they purchase the software and they are automatically approved in UltimateMember. When our employees register, I have to log in to WordPress and update their user role to keep our customers and employees separate.
I was curious, is it possible to have users who register with a certain email domain (i.e. @companyname.com) automatically be put into a certain user role? In my case, we have Customer Subscribers and Employee Subscribers. All new users are put under the customer subscribers user role. It would be really convenient if our employees could automatically get put under the employee subscribers user role.
Thanks in advance!
- The topic ‘Automatically assign user role based on email domain?’ is closed to new replies.