IADsDomain Property: MaxBadPasswordsAllowed

Property Name
MaxBadPasswordsAllowed

Property Type
Long

Description
Gets and sets the maximum number of bad password logins until an account is locked out.

Remarks
Specifies the number of instances of invalid password authentication for which an account is to be marked as locked out.

Example

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

 

See Also