Promotic

WndLogon - method of the Pm object

Description:
Displays the Logging on the user window.
Syntax:
Empty WndLogon(Boolean bShow, [String sName])
Parameters:
bShow(Boolean) Value of the parameter.
true - open the window
false - close the window
sName[optional] (String) If the login name of the local user is entered, then it will be preset in the login window
Note:
Closing of the window is not implemented in the meantime (for any value of the bShow parameter, the window will be opened).

This method is also functional in Web panels.
In order to make the method correctly functional in the Web panel, it is necessary to configure the panel (PmaPanel object) to have the "WebRead" permission (to force the network user to login into the browser). It is also recommended check the "Strict mode of network users login into the application requiring the use of both name and password" configurator in the PmaWeb object.
Example:
JavaScriptVBScriptSelect and copy to clipboard

Pm.WndLogon(1);

History:
Pm8.02.12: Is now functional for alternative Web browsers (other than InternetExplorer).
Pm8.00.02: Available for Web panels.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
- Pm
 
- Abs
- Cos
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
- WndLogon
 
 
© MICROSYS, spol. s r.o.