ExtendedMembershipProvider.GetPasswordFailuresSinceLastSuccess Method
When overridden in a derived class, returns the number of times that the password for the specified user account was incorrectly entered since the most recent successful login or since the user account was created.
Namespace: WebMatrix.WebData
Assembly: WebMatrix.WebData (in WebMatrix.WebData.dll)
Syntax
'Declaration
Public MustOverride Function GetPasswordFailuresSinceLastSuccess ( _
userName As String _
) As Integer
'Usage
Dim instance As ExtendedMembershipProvider
Dim userName As String
Dim returnValue As Integer
returnValue = instance.GetPasswordFailuresSinceLastSuccess(userName)
public abstract int GetPasswordFailuresSinceLastSuccess(
string userName
)
public:
virtual int GetPasswordFailuresSinceLastSuccess(
String^ userName
) abstract
abstract GetPasswordFailuresSinceLastSuccess :
userName:string -> int
public abstract function GetPasswordFailuresSinceLastSuccess(
userName : String
) : int
Parameters
- userName
Type: System.String
The user name of the account.
Return Value
Type: System.Int32
The count of failed password attempts for the specified user account.