|
ED
|
avaliable
|
RT
|
avaliable
|
Searches for the user with the identification szIdentification
and tries to log him in, if he is not the currently logged in
user.
In this case also the new password is compared to the current
one.
If a user with thie identification cannot be found, an entry in the
CEL is generated.
Otherwise the user is logged in and the following further
actions are executed:
·System variable for current user level is actualized
·System variable for the name of the current user is actualized
·Alarming is informed about user change
·All opened MDI windows are informed about user change
·CEL entry for user is generated
·UserChange event for the object Passwords is executed
'login a user with its password... Sub LoginUser() Dim bResult As Boolean bResult = zUserAdministration.LoginPassword("LogonName", "P@ssword") End Sub