onUserLogoff - event of the PmaRoot object

The event is triggered after the acknowledgement of the user log-off from the running application.
pMe(Object) Reference to the PmaRoot object where the event rises.
pEvent(Object) Reference to 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 on user. The value je 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.
The event is triggered for every non-logged user (both local and network). Deatiled user information (PmUser object) are available in the pEvent.User parameter. See Example.
JavaScriptVBScriptSelect and copy to clipboard

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

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