Restrict particular domain from registering into Community portal

MayankGupta77
Tera Contributor

Hello everyone,

 

I recently developed a community portal for my client. Now, they are requesting the ability to block specific email domains (e.g., gmail.com, yahoo.in) from being used during registration.

 

I have already informed them about the existing whitelist feature available out-of-the-box (OOTB), but they are not satisfied with this solution. They specifically require a blacklist feature to restrict certain domains from registering.

 

Is there any OOTB feature or customization approach available to implement this functionality?

 

I would appreciate a step-by-step solution, and if there’s any relevant documentation, please share that as well. It would be extremely helpful.

 

Thank you and Regards, 

Mayank Gupta 

 

1 REPLY 1

Jake Sadler
Kilo Sage

Hi,

 

I would build a custom table and with 2 fields. 

"Active" - true/false

"Email Domain" - string

 

They can add any domains they like at any time and set active to true or false for record keeping purposes.

You can use this table to cross check with any users trying to register and block the registration if you find a match.

 

Hope this helps.