I have an issue with Screen On visible parameter condition if user unauthorized else navigate, in case user is not authorized to view a specific in screen, then the user will be redirect to another screen. if there is any another option please provide me with a solution.
If(
IsBlank(
Param("ID")
),
0,
If (
LookUp(
<<Table_Name>>,
<<Field_name>> = Param("ID"),
<<Field_name>>
) = Office365Users.MyProfile().Mail,
Param("ID"),
Navigate(Auth_404)
)
)
Thanks in advance