Show if Optional Yes/No formula to decide whether this view should be shown

Good Day

Hope someone can assist me I want to set up the show if function in UX (Primary View) to Show Only a certain view based on the user logged in

Ex.

admin@gmail.com have access to all views

user1@gmail.com have only access to sales and orders views

accounts@gmail.com have only access to account views

Is this possible or not

Regards Gerhard

A few ways to do this.

The simplest is set

OR(
 USEREMAIL() = "admin@gmail.com",
 IN(USEREMAIL(),LIST("user1@gmail.com", ""user2@gmail.com",,,,,)
)

in every view you want to control

Limit users to particular tables, views, and actions - AppSheet Help