Vision Client Auto-login and Security

I am working on a Vision client for use on the factory floor. The main landing page shows the current status of the line. It is capable of overriding certain functions to control line flow. I want to restrict those actions behind a login. Is there a way to do this? I envision an auto-login with view permissions, but then needing to present credentials when attempting to access the windows/functions that allow modification. Any assistance would be appreciated. Thank you.

Hi Mike, welcome to the forum. :slight_smile:

Use of system.security.switchUser() should help. Setting security on the items you wish to affect should do the rest.

If you need extra inspiration, make a throwaway project using a Vision Tab Nav template. In the navigation window you will see lock screen / switch user / logout options.

1 Like