Scripting and Programming Guides › Scripting Guide for Perl › CLI Policy Management Methods › Password Policy Methods
Password Policy Methods
The following methods act on PolicyMgtPwdPolicy objects:
- AllowNestedGroups Method—Allows the password policy to be configured for nested groups
- ApplyLowerPriorityPolicies Method—Sets or retrieves the flag for evaluating lower-priority password policies after the current policy is evaluated
- AuthLoginTrackFailure Method—Sets or retrieves the flag for allowing a user to log in if login tracking data fails to be written to the user directory
- BadLoginDisablementPeriod Method—Sets or retrieves the number of minutes after which a user is disabled after too many failed login attempts
- Description Method—Sets or retrieves the description of the password policy
- DictionaryMatch Method—Sets the minimum number of letters required to qualify a password for dictionary checking
- DictionaryPath Method—Sets or retrieves the location of a dictionary file that lists words that cannot be used in a password
- DisableAfterInactivityExpiration Method—Sets or retrieves the flag for disabling a user’s account if it has been inactive for a specified period
- DisableAfterPwdExpiration Method—Sets or retrieves the flag for disabling a user’s account after the user’s password expires
- EntireDir Method—Determines whether the password policy applies to the entire directory or just a part of it
- ExpirationDelay Method—Specifies the number of days a password can be used until it must be changed
- IsEnabled Method—Enables or disables a password policy
- MaxLoginFailures Method—Sets the maximum number of failed login attempts a user can make before the user account is disabled
- MaxLoginInactive Method—Sets the number of days of inactivity allowed before a user's password expires
- Name Method—Sets or retrieves the password policy name
- PwdAddRegExpMatch Method—Adds a regular expression that new passwords must match
- PwdAddRegExpNoMatch Method—Adds a regular expression that new passwords must not match
- PwdAllowDigits Method—Sets or retrieves the flag specifying whether passwords are allowed to have numeric characters
- PwdAllowLowercase Method—Sets or retrieves the flag specifying whether passwords are allowed to have lower case letters
- PwdAllowNonAlphaNum Method—Sets or retrieves the flag specifying whether passwords are allowed to have non-alphanumeric characters
- PwdAllowNonPrintable Method—Sets or retrieves the flag specifying whether passwords are allowed to have non-printable characters
- PwdAllowPunctuation Method—Sets or retrieves the flag specifying whether passwords are allowed to have punctuation mark characters
- PwdAllowUppercase Method—Sets or retrieves the flag specifying whether passwords are allowed to have uppercase letters
- PwdExpiryWarning Method—Sets the number of days in advance to notify the user that the password will expire
- PwdForceLowerCase Method—Sets or retrieves the flag for forcing a new password to lower case
- PwdForceUpperCase Method—Sets or retrieves the flag for forcing a new password to uppercase
- PwdGetAllRegExpMatch Method—Retrieves the tags of all the regular expressions that new passwords must match
- PwdGetAllRegExpNoMatch Method—Retrieves the tags of all the regular expressions that new passwords must not match
- PwdGetRegExp Method—Retrieves the regular expression for the specified tag
- PwdIgnoreSequence Method—Indicates whether to ignore sequence (that is, character position) when the different-from-previous-characters percentage is calculated
- PwdMaxLength Method—Sets or retrieves the maximum length for user passwords
- PwdMaxRepeatingChar Method—Sets or retrieves the maximum number of identical characters that can appear consecutively in a password
- PwdMinAlpha Method—Sets or retrieves the minimum number of alphabetic characters (A-Z, a‑z) that a password must contain
- PwdMinAlphaNum Method—Sets or retrieves the minimum number of alphanumeric characters (A-Z, a-z, 0-9) that a password must contain
- PwdMinLength Method—Sets or retrieves the minimum number of alphanumeric characters (A-Z, a-z, 0-9) that a password must contain
- PwdMinLowercase Method—Sets or retrieves the minimum number of lower case letters that a password must contain
- PwdMinNonAlpha Method—Sets or retrieves the minimum number of non-alphanumeric characters that a password must contain
- PwdMinNonPrintable Method—Sets or retrieves the minimum number of non-printable characters that a password must contain
- PwdMinNumbers Method—Sets or retrieves the minimum number of numeric characters (0-9) that a password must contain
- PwdMinProfileMatch Method—Specifies the minimum character sequence to check against the user's personal information
- PwdMinPunctuation Method—Sets or retrieves the minimum number of punctuation marks that a password must contain
- PwdMinUppercase Method—Sets or retrieves the minimum number of uppercase letters that a password must contain
- PwdPercentDiff Method—Specifies the percentage of characters that a new password must contain that differ from characters in the previous password
- PwdPolicyPriority Method—Sets or retrieves the password’s priority setting (1-1000)
- PwdRedirectionURL Method—Sets or retrieves the URL where the user is re-directed when an invalid password is provided
- PwdRemoveRegExp Method—Removes the regular expression associated with the specified tag
- PwdReuseCount Method—Specifies the number of new passwords that must be used before an old password can be reused
- PwdReuseDelay Method—Specifies the number of days a user must wait before reusing a password
- ReEnableAfterIncorrectPwd Method—Specifies whether to re-enable a user account after the entry of an incorrect password
- Save Method—Saves modifications to a password policy
- StripEmbeddedWhitespace Method—Sets or retrieves the flag for stripping new passwords of embedded white space
- StripLeadingWhitespace Method—Sets or retrieves the flag for stripping new passwords of leading white space
- StripTrailingWhitespace Method—Sets or retrieves the flag for stripping new passwords of trailing white space
- TrackLoginDetails Method—Sets or retrieves the flag for tracking authentication attempts and successful logins
- UserDirClass Method—Sets or retrieves the directory class if the password policy applies to a part of the directory
- UserDirectory Method—Sets or retrieves the user directory for the password policy
- UserDirPath Method—Sets or retrieves the directory path if the password policy applies to a part of the directory