Log in

View Full Version : Auto assign usergroup on registration based on domain?


leonardg
10-15-2005, 01:35 PM
(My 'import registration' inquiry did not get much interest, this is another way to do what I want).

Need method to automatically assign a new user during online registration to a usergroup based on email domain. For example:

(email -------------> assign to)

@abcmed.com ---> Medical usergroup
@jones.com ----> Clients usergroup
@igreat.com ----> Employees usergroup
@baker.com -----> Clients usergroup

Only about 5 usergroups, but could have 100 diff domain names so I would have to be able to provide/maintain a table somewhere.