onUserLogonEnd - event of object PmRoot

The event fires after successful loggin-in user to running application.
pMe(Object) Reference to the PROMOTIC object where the event rises.
pEvent(Object) A referrence to object describing detailed information about the specific event.
pEvent.User - (Object) User object that represents the user being logged in.
pEvent.UserId - (String) (obsolete) identifier of the logged on user. The same value as pEvent.User.Id.
pEvent.Name - (String) (obsolete) Name of the logged on user. The same value as pEvent.User.Name.
pEvent.Level - (Integer) (obsolete) The level of the logged on user.
The event fires for every user (both local and network). Deatiled user information (User object) are avilable in the pEvent.User parameter.
If needed to execute some code only for local users and verified network users, then it is possible to test the values of the pEvent.User parameter. The non-logged user identifier is an empty string, see User.Id.
VBScriptSelect and copy to clipboard

If pEvent.User.Type <> 2 Or pEvent.User.Id <> "" Then
  '... The code executed only for local users and verified network users
End If
PROMOTIC 8.3.30 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