Is there a way to see what the role of the currently logged in user is? My goal would be to only allow some actions to happen in the PLC if the user logged in has a certain level of authority. I would also like to only allow the system to be started (thru the pressing of a physical button) if there is a user actively logged in. Thanks!
Hi CJ,
What are you using to log in? Are you using the mappView widget designed for that?
Regards,
Roger
Hi Roger, I am using the mappView widget as well as the mpUser library.
Alright – I’m guessing you’re trying to figure out how to get the role of a user connected to a specific mappView client.
This is actually a pretty common request, especially when you have physical buttons on the main HMI tied to PLC variables, and only certain roles should be allowed to trigger actions like starting the machine.
Here’s a quick workaround that might help – we’ve actually had a few customers asking for something similar.
Let me know if you need help setting it up!
1 Like