Restriction in the application

0
Hello everyone, I want to use the restriction in my application. My company name is "MCS". I have employee accounts. So employee accounts Email Address should e for example "......@mcs.nl" ''cemal@mcs.nl''. otherwise I don't want to give access to the page. How can do that for only employee accounts in Mendix Studio Pro?
asked
3 answers
2

Hi Cemal,

 

What you need is a regular expression for specific email domain. A very simple one could be: 

^[A-Za-z0-9._%+-]+@testdomain\.com$
answered
1

Hi Cemail,

 

Using Regex you can validate the mail id with specific domain.

e.g: ^[A-Za-z0-9._%+-]+@mcs\.nl$

answered
0

Hi Cemal ARIK,

Create a Sub microflow that does the validation ( Retrieve Current Account and process your check and Return True or False)

From your navigation call a Microflow and Call the Validation sub microflow, Based on the boolean show the respective page.

answered