VerifyOprPassword
Mon 01 January 2018Syntax
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: 
  | 
   
| 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.