onUserLogonEnd - event of the PmaRoot object
The event is triggered after successful loggin-in user to 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 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 is triggered for every user (both local and network). Deatiled user information (PmUser
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 in the pEvent.User
parameter. The non-logged user identifier is an empty string, see PmUser.Id
if (pEvent.User.Type != 2 | pEvent.User.Id != "")
//... The code executed only for local users and verified network users