Description: Return to the user login last pushed user onto the stack by the userpush command. Recognized by ViewDAQ only.
VB Script: USERPOP
See Also: USERLOGIN, USERPUSH
# Tcl example
# login user tom, password
# push must precede pop (remember tom)
#login admin (no
# logout admin, return to last user tom
USERPOP returns to the previous user login at the last USERPUSH command or <USERPUSH> keymacro in ViewDAQ. These commands are used together to temporarily login as another user, then return to the original user login. A USERLOGIN command or the Login from a Display (File->Login) must precede a USERPUSH. Used in screen scripts. Not supported by global scripts. This command interacts with keymacros <USERPUSH> and <USERPOP> used in the same display window or task window.
USERPOP is ignored in VIEW.
Note that a "restricted user" is limited to viewing displays specified during configuration through a Web Browser client. A "restricted user" login does not limit display access in a local ViewDAQ task. General users are restricted from viewing system displays.
The Web Browser Window must be closed or another Web Browser Window Opened to Login as another user. This is because the displays available to an Administrator, Power or General user all cached. The Browser Window must be closed to allow a new cache to be built appropriate to the user type.
See USERLOGOUT for an example of new user login through a web browser.