Metabase > Metabase Assembly Interfaces > IMetabasePasswordPolicy
The IMetabasePasswordPolicy interface contains properties and methods used to set password security policy.
Property name | Brief description | |
![]() |
CheckForbiddenStrings | The CheckForbiddenStrings property determines whether password check is used for possessing disabled lines. |
![]() |
DerivedPasswords | Outdated. Use the HashedPasswords property. |
![]() |
ForbiddenStrings | The ForbiddenStrings property returns a list, containing disabled lines, for which a password is checked. |
![]() |
HashedPasswords | The HashedPasswords property determines parameters of password hashing. |
![]() |
HistoryLength | The HistoryLength property determines the number of old passwords that are stored and checked for coincidence with a new user's password. |
![]() |
MaxAge | The MaxAge property determines the maximum password age (days). |
![]() |
MaxRepeatedCharCount | The MaxRepeatedCharCount property determines the maximum number of repeated characters that can be used in a password. |
![]() |
MinAge | The MinAge property determines the minimum password age (days). |
![]() |
MinLength | The MinLength property determines the minimum password length (characters). |
![]() |
NotAllowFullUserName | The NotAllowFullUserName property determines a restriction on matching user name and password. |
![]() |
NotAllowUserName | The NotAllowUserName property determines a restriction on coincidence of user's name and password. |
![]() |
RequireAlphaNumeric | Outdated. Use IMetabasePasswordPolicy.RequireDigitsAndChars, IMetabasePasswordPolicy.RequireNonAlphabeticChars. |
![]() |
RequireDifferentChars | The RequireDifferentChars property determines whether different characters must be used in a password. |
![]() |
RequireDifferentLetterCase | The RequireDifferentLetterCase property determines whether a password with letters of a different letter case is required. |
![]() |
RequireDigitsAndChars | The RequireDigitsAndChars property determines whether digits and letters are mandatory required in a password. |
![]() |
RequireNonAlphabeticChars | The RequireNonAlphabeticChars property determines whether special characters (_, @, #, $, %, &, *, ^) are mandatory required in a password. |
![]() |
UniquenessDegree | The UniquenessDegree property determines the minimum difference of an old password from a new one (characters). |
![]() |
WarningMaxAge | The WarningMaxAge property determines the number of days before which the user will be notified about the necessity of password changing. |
Method name | Brief description | |
![]() |
CheckPassword | The CheckPassword method validates user's new password for consistency according to the specified passwords policy in security manager. |
See also: