The way I would approach this is with two different Self-Registration pages. One for guest and one for employees. It sounds like you have gotten that far.
Next you can validate the EMAIL form option for specific domains for that self-registration page.
To do that:
Go to ClearPass Guest
Go to Configuration
Go to Guest Self registration
Edit the current employee profile.
Click FORM under Register Page
Click email > press edit > Modify the Validator argument to allow/deny different domains.
For instance:
array (
'allow' =>
array (
'corporate.com'
),
'deny' =>
array (
'gmail.com'
),
)
------------------------------
Zak Emerick
------------------------------
Original Message:
Sent: Oct 21, 2020 06:29 AM
From: Kari Naukkarinen
Subject: Self-Registration portal for Guests and Employees
Hi!
I'm looking for solution to implement self-registration page (or two separate pages) for guest and employee using same visitor SSID with respective roles so that if guest role is selected user can register with e-mail address and phone number and receive 24h access. If Employee role is selected then company employee will register same way but receives 3 months access.
I would like to prevent guests to select Employee role so that if selected only company e-mail domain is approved.
I have basic setup ready with single self-registration page for both roles but not sure if I can make a dependency for Employee role so that if selected then check also e-mail domain.
How to proceed? Thanks!