Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Script > dw.customer
dw.customer
Class CustomerPasswordConstraints
Object
dw.customer.CustomerPasswordConstraints
Provides access to the constraints of customer passwords. An instance of this class can be obtained via CustomerMgr.getPasswordConstraints().
Properties
forceLetters  :  boolean  (Read Only)
Returns true if letters are enforced.
forceMixedCase  :  boolean  (Read Only)
Returns true if mixed case is enforced.
forceNumbers  :  boolean  (Read Only)
Returns true if numbers are enforced.
minLength  :  Number  (Read Only)
The minimum length.
minSpecialChars  :  Number  (Read Only)
The minimum number of special characters.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
static getMinLength() : Number
Returns the minimum length.
static getMinSpecialChars() : Number
Returns the minimum number of special characters.
static isForceLetters() : boolean
Returns true if letters are enforced.
static isForceMixedCase() : boolean
Returns true if mixed case is enforced.
static isForceNumbers() : boolean
Returns true if numbers are enforced.
Methods inherited from class Object
Method Detail
getMinLength
static getMinLength() : Number
Returns the minimum length.
Returns:
the minimum length

getMinSpecialChars
static getMinSpecialChars() : Number
Returns the minimum number of special characters.
Returns:
the minimum number of special characters

isForceLetters
static isForceLetters() : boolean
Returns true if letters are enforced.
Returns:
if letters are enforced

isForceMixedCase
static isForceMixedCase() : boolean
Returns true if mixed case is enforced.
Returns:
if mixed case is enforced

isForceNumbers
static isForceNumbers() : boolean
Returns true if numbers are enforced.
Returns:
if numbers are enforced

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.