Hi,
So not really on the app runs as person A and the rest runs as person B, I mean it IS possible, but it requires that people are using Incognito browsers etc etc
As for signing them out.
I am not sure how or if this would work for sure.
1. Add a Timer to your Main Screen
2. in the App OnStart add a variable Set(_currentUser, User().Email);
You can't really close the app, but you would have to make it so that your APP, has the ability to wipe the data and screens clean in the Timer, and only display a message that says Close and Re-open app or something easier do the below
1. Add a Square (rectangle share) that covers the Screen fully of your app
1a. After adding it, select it in the left screen navigation. Click ... and say bring to Front, so its on top of everything.
2. Make it Black or Dark Grey something
3. Make it invisible with a variable _isVisible
3a. in the OnVisible of the screen put
Set(_isVisible, false);
3b. in the Shapres visible property put _isVisible
4. In the Timer, have it fire off.... like every XX seconds.
In the timer check
If(_currentUser <> User().Email,
Set(_isVisible, true);
);
Now you have blanked out the app so they cannot see data.
you can also add a Text Label on top of the Shape with a message to restart the app.
You could Group them together and set the visible property of hte Group to _isVisible.