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.
(obsolete) identifier of the logged on user. The same value as pEvent.User.Id
(obsolete) Name of the logged on user. The same value as pEvent.User.Name
(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
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