Default value of a variable depending of loggin user

Hi, I would like to know if it is possible to set a default value for a variable depending of a loggin user. I mean, if for example, loggin is being with a administrator user, variable X set TRUE automatically when logging page disappears. Thank you!

Hello Seg_rolgar, a login session does not have impact directly on any variable. But you can set Access levels so that different users see different variables. So you could use a button or something that changes a Variable that only the Admin has access to. Like a “Lock Controlls for manual movements” function or something like that. Still another User that logged in as ADMIN would still be able to change use the movements and see the same logg as it is shared by user not by Session. This is because there is always the posibility that multiple Browsers / HMIs with the same or different users have running sessions at the same time. What value would your variable be when three viewers and one Admin are logged in to the same PLC at the same time? Are you looking for HMI Session local variables? (that are not bound to the PLC directly) kind regards, Oliver