IADsUser Property: BadLoginCount

Property Name
BadLoginCount

Property Type
Long

Description
Gets the number of bad logon attempts since the last reset time.
This property is read-only.

Remarks
Specifies the number of attempts at logging on to an account using an incorrect password.

Example

Dim UserObject As IADsUser
Dim Grp As IADsGroup
Set UserObject = GetObject("NTDS://DomainName/UserName")
Debug.Print UserObject.BadLoginCount

 

See Also