Hi,
At the start of the App I need to redirect the users to one of two screens depending on a query to a Sharepoint List. I'm doing it in the App.OnStartScreen.
With(
{
wActions:
Filter(Users;Mail = User().Email)
};
If(CountRows(wActions) > 0;Travels;RegisterUser)
)
This works well. But if the user doesn't have permitions to the Sharepoint List 'Users' it will go to the Travels screen and give some errors.
What I want to do is verify if the user has permitions and if not Notify him and them Exit().
Thanks