You can use this event to authenticate the user name and password entered in the device logon dialog.
Authenticate ( username , password , deviceaddress )
|username||The user name entered in the logon dialog on the device panel.|
|password||The password entered in the logon dialog on the device panel.|
|deviceaddress||The IP address of the device that triggered the authentication request.|
A false return value indicates a failed authentication request.
Function Authenticate(UserName, Password, DeviceAddress) If (UserName = "JohnD" And Password ="pass") Then Authenticate = true Else Authenticate = false End If End Function