Skip to main content
Version: v4 (Stable)

CheckLogin

CheckLogin(UserId As Integer/String, Password As Integer/String[, MD5Key As String[, StationId As Integer]]) As Boolean

This function verifies that the <UserId> and <Password> pair is valid.

The optional parameter <MD5Key> when defined means the password is encrypted by MD5 and gives the encryption key.

The optional <StationId> parameter when defined means the user will be searched on the defined station, otherwise it will be searched on all stations. By default it is set to 0.

Returns TRUE if valid.