Promotic

Logoff - method of the Pm object

Description:
Logging off the logged local user without the query.
Syntax:
Empty Logoff()
Note:
The PmaRoot.onUserLogoff event is triggered after logging off the user.

This method is also functional in Web panels. There should always be a logged-in user on the Web and therefore this method does the same thing as the Pm.WndLogon method - opens user login window.
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.Logoff();

History:
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
- Logoff
 
 
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r.o.