• JMap.User.getPasswordPolicyCompliance

    Returns an object describing the password compliance with the platform's password policy ( JMap Cloud)

    Parameters

    • password: string

    Returns JJMapPasswordPolicyCompliance

    Example

    // evaluate a password
    JMap.User.getPasswordPolicyCompliance("password")
    /*
    {
    "hasMinimumLength": true,
    "hasLowercaseLetters": true,
    "hasNumbers": false,
    "hasUppercaseLetters": false,
    "hasSpecialCharacters": false
    }
    /*