IADsDomain Property: PasswordHistoryLength

Property Name
PasswordHistoryLength

Property Type
Long

Description
Gets and sets the maximum number of passwords that can be stored in the history list. The user cannot reuse a password that is in the history list.

Remarks
This property specifies the length of password history maintained. A new password cannot match any of the previous PasswordHistoryLength passwords. Valid values for this element are 0 through 8.

Example

Dim DomainObject As IADsDomain
Set DomainObject = GetObject("NTDS://YourDomainName")
Debug.Print DomainObject.PasswordHistoryLength

See Also