11.1.102          <USERLOGOUT>

Description:   Logout current user

Syntax:         <USERLOGOUT>

Arguments:     

See Also:       <USERLOGIN>,<USERPUSH>, <USERPOP>

 

Examples:      #1 Logout on Shift Change on a pushbutton

                   <USERLOGOUT>

#2 a keymacro file to Force new user login in web browser

<GOTO>URL=http://64.55.156.4/broadWeb/system/bwviewpg.asp?proj=LIVEDEMO&node=SCADANode1&goto=graph=comproom.bgr^target=pop1)

 

<USERLOGOUT> changes the current user login in ViewDAQ. The Area and Level of the user changes immediately in ViewDAQ.  <USERLOGOUT> 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 are cached.  The Browser Window must be closed to allow a new cache to be built appropriate to the user type.

In example 2 above, the pushbutton on the display executes a keymacro file. This opens a new web browser window, which forces the user to login with a username and password. In example 2, opening a new window (target=pop1) also refreshes the display list using the <GOTO>URL= keymacro.