I'm working on a project where different people can register.
1) Only certain domains can register. I've used the User restrictions module for this purpose.
2) Admins can create files/resources and assign them to different people. To accomplish this, I installed Profile2
module and created an entity reference field in my custom content type where admins can decide which profile types can view this resource.
My problem is now I'm trying to come up with a rule that when somebody registers, based on the domain name of their email address, I'd like to associate them to different profile types.
Is that possible?