Share via


RetailParameters.validatePasswordStrength Method

Validate the Password Strength based on the Retail POS Parameters value

Syntax

public boolean validatePasswordStrength(
    str _password, 
    boolean _numPassword, 
    boolean _upperCase, 
    boolean _specialChar)

Run On

Called

Parameters

  • _password
    Type: str
    Password Value entered in the Retail Staff Table
  • _numPassword
    Type: boolean
    A boolean value of numeric type password strength.
    If it is true, the password must have at least 1 numberic value.
  • _upperCase
    Type: boolean
    A boolean value of Upper Case Alphabetic type password strength.
    If it is true, the password must have at least 1 Upper case Alpha character.
  • _specialChar
    Type: boolean
    A boolean value of Special Character type password strength.
    If it is true, the password must have at least 1 Special character.

Return Value

Type: boolean
Returns true if password strength is valid otherwise false

See Also

Reference

RetailParameters Table