Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onUserLogoff - event of the PmaRoot object

Description:
The event is triggered after the acknowledgement 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 object describing detailed information about the specific event.
pEvent.User - (Object) The PmUser object that represents the user being logged out.
pEvent.UserId - (String) (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) (obsolete) The name of the logged off user. The same value as pEvent.User.Name.
pEvent.Level - (Integer) (obsolete) The level of the logged off user.
Note:
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.
Example:
JavaScriptVBScriptSelect and copy to clipboard

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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice