Click or drag to resize
AuthenticationHelperCheckInvalidPasswordAttempts Method
Check if logging invalid password attempts is enabled and if so, invalid attempt counter is incremented and if user exceeded maximal number of invalid attempts, her account is locked

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
public static void CheckInvalidPasswordAttempts(
	UserInfo user,
	string siteName,
	string returnUrl = null
)

Parameters

user
Type: CMS.MembershipUserInfo
User to log invalid password attempt
siteName
Type: SystemString
Site name to check invalid password attempts functionality
returnUrl (Optional)
Type: SystemString
URL using which user can log on to system, after password change
See Also