Share via


ExtendedMembershipProvider.GetLastPasswordFailureDate Method

When overridden in a derived class, returns the date and time when an incorrect password was most recently entered for the specified user account.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

Syntax

'Declaration
Public MustOverride Function GetLastPasswordFailureDate ( _
    userName As String _
) As DateTime
'Usage
Dim instance As ExtendedMembershipProvider 
Dim userName As String 
Dim returnValue As DateTime 

returnValue = instance.GetLastPasswordFailureDate(userName)
public abstract DateTime GetLastPasswordFailureDate(
    string userName
)
public:
virtual DateTime GetLastPasswordFailureDate(
    String^ userName
) abstract
abstract GetLastPasswordFailureDate : 
        userName:string -> DateTime
public abstract function GetLastPasswordFailureDate(
    userName : String
) : DateTime

Parameters

Return Value

Type: System.DateTime
The date and time when an incorrect password was most recently entered for this user account, or DateTime.MinValue if an incorrect password has not been entered for this user account.

See Also

Reference

ExtendedMembershipProvider Class

WebMatrix.WebData Namespace