Update cookies preferences
Promotic

onUserLogoff - event of the PmaRoot object

Description:
The event is triggered after the confirmation of the user log-off from the running application.
Parameters:
pMe(Object) Reference to the PmaRoot object where the event rises.
pEvent(Object) Reference to an object describing detailed information about the specific event.
pEvent.User - (Object) [for reading] The PmUser object that represents the user being logged out.
pEvent.UserId - (String) [for reading] (obsolete) Identifier of the logged-in user. The value is preset if the login name entered by user is found in the list of users.
pEvent.Name - (String) [for reading] (obsolete) The name of the logged off user. The same value as pEvent.User.Name.
pEvent.Level - (Integer) [for reading] (obsolete) The level of the logged off user.
Note:
The event is triggered for every non-logged user (both local and network). Deatiled information about the user (PmUser object) are available in the pEvent.User parameter. See Example.
Example:
JavaScriptVBScriptSelect and copy to clipboard

pMe.Pm("/Events").ActivateNew("", "event0", "", "UserLogoff=" + pEvent.Name);
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.