Thanks for the info.But in a scenario where sponsor and Employee user (Captive Portal Login) belongs to same email domain and already a domain based restriction is applies to both sponsor and Employee registration page field using "Isvalidemail" validator(Code given below) as mentioned by you, can we restrict the sponsor and Employee user mail ID entered by the Employee user in the registration fied from being put the same email ID or in simple terms can we restrict the employee from putting his email ID in both sponsor and user email Field and thus approving his own account.
array (
'allow' =>
array (
0 => 'companydomainname.com',
),
'deny' =>
array (
0 => '*',
),
)