SimpleMembershipProvider.GetLastPasswordFailureDate Method

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)

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

returnValue = instance.GetLastPasswordFailureDate(userName)

Parameters

userName
Type: System.String
The user name of the account.

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.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Show: