Authenticate event
You can use this event to authenticate the user name and password entered in the device logon dialog.
Argument | Description |
---|---|
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. |
Remarks
A false return value indicates a failed authentication request.
Example
Function Authenticate(UserName, Password, DeviceAddress)
If (UserName = "JohnD" And Password ="pass") Then
Authenticate = true
Else
Authenticate = false
End If
End Function