Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SimpleMembershipProvider.GetPasswordFailuresSinceLastSuccess Method

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)
public override int GetPasswordFailuresSinceLastSuccess(
	string userName
)

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, or -1 if the user specified by userName does not have a user account.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.