Role of Currently Logged In User

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.

Check mappView’s client user role with visualization session login (using MpUserX widgets) - Share Info & Ideas - B&R Community

Let me know if you need help setting it up!

1 Like