Description: Pushes name and password of current login user onto stack for use by <USERPOP>.
Syntax: <USERPUSH>
Arguments: none
See Also: <USERPOP>, <USERLOGIN>
Examples: # 1 - press this button to login user tom, password please
<USERLOGIN>tom=please
# 2 - press this button to push onto stack
<USERPUSH>
# 3 - press this button to login admin
<USERLOGIN>admin
# 4 - pressing this button should return to user named tom
<USERPOP>
<USERPUSH> stores the login information of the current user for use with a <USERPOP> keymacro or USERPOP command in ViewDAQ. These commands are used together to temporarily login as another user, then return to the original user login. A <USERLOGIN> keymacro, USERLOGIN command or the Login from a display menu bar (File->Login) must precede a <USERPUSH>. Used in screen scripts. Not supported by global scripts. This command interacts with script commands USERPUSH and USERPOP used in the same display window or task window.
<USERPUSH> 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.