AuthenticablePrincipal.BadLogonCount Property

 

Gets the number of logon attempts using incorrect credentials for this account.

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

Public ReadOnly Property BadLogonCount As Integer

Property Value

Type: System.Int32

The number of logon attempts using incorrect credentials for this account.

Exception Condition
InvalidOperationException

The underlying store does not support this property.

.NET Framework
Available since 3.5

System.DirectoryServices.AccountManagement
AuthenticablePrincipal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top
Show: