Description
The application's required minimum password strength
Warning:
We strongly recommend that you use the following UAPI function instead of this function:
-
PasswdStrength::get_required_strength
— This function retrieves an application's minimum required password strength.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
app |
string |
Required The application's name. |
Note: We removed the bandmin parameter value in cPanel & WHM version 58.
|
ftp |
Returns
Return |
Type |
Description |
Possible values |
Example |
strength |
integer |
The application's required minimum password strength. |
An integer between 0 and100. |
0 |
reason |
string |
A reason for failure. Note: This function only returns a reason value if it failed. |
A string that describes the error. |
This is an error message. |
result |
Boolean |
Whether the function succeeded. |
|
1 |