VerifyOprPassword

Mon 01 January 2018

Syntax

VerifyOprPassword(O_or_U, user_ID, cleartext_pwd)

Description

Use the VerifyOprPassword function to verify that an input clear text string matches the password hashed by either HashWithSalt or Hash and stored in the PSOPRDEFN table.

Parameters

Field or Control

Definition

O_or_U

Indicates which PSOPRDEFN field to use when matching the user ID:

  • O – Indicates the OPRID field.

  • U – Indicates the USERIDALIAS field.

user_ID

Specifies the user ID as a string value.

cleartext_pwd

Specifies the input password as a clear text string.

Returns

A Boolean value: True if the input password matches the hashed password stored in the database, False otherwise.