Hello,
I am trying to solve the problem of needing administrator privileges for the logged-in user to make changes in the user system. I know that I need to be logged in as an administrator or BR_Engineer role to perform changes. My issue is that I also need administrator rights to check roles at runtime. I am working on a machine with multiple multi-client HMIs.
One possibility is to log in as every connected user and check if I have access. If not, I get the answer. However, this destroying the multi-client functionality.
The second possibility is to have an observer on the system with administrator rights, but that would create a cyber security hole.
Is there any way to retrieve the user’s role in mapp View? For example, via a session variable, event, or similar mechanism?