Switch User

The Switch User command gives users the option to switch to a new user without first logging out. This feature is useful when prevent users from being locked out of Runtime, as the Switch User command allows users to change the security user without logging out.

This command will return the user to the login screen. If no other users log in during that time and the Inactivity Timeout is set, the operation will be canceled.

Link a Button to Switch User

To enable the Switch User feature, Security Manager must be enabled. To setup Security Manager go to the Security Manager page.

  1. In Project Explorer double-click to open Display Layout.
  2. Drag and drop a Button from the Toolbox grid to the location on the Display Layout where you want to place it. Rename it to indicate its purpose. Then click Save.
  3. Double-click on the button to open the Action Browser.
  4. Click on User Security, then select Switch User.
    Note: Switch User contains the optional parameter Inactivity Timeout. This parameter takes in time measured in seconds that a user is not actively entering a username or password, and will cancel the operation of switching the user and return them to the current Runtime view. Any user activity will reset the timeout, similar to how Inactivity Time operates. This action only triggers if a number is inputted. If left blank or the value is 0, it will remain on the login screen.
  5. Click OK. When starting Runtime, the login screen will be displayed.
  6. Clicking on the Switch User button will now navigate to the login page which will allow users to switch the security user without logging out. An icon will now appear at the bottom left of the screen, and when clicked, it will return the user back to their current session.
    Note: If the user exceeds the max login attempts, this button will still be functional.
Security permissions can be changed with Switch User. These permissions determines whether the current user can use the new Switch User action. For the Administrator group, Switch User will always be set to Allow.