Is it possible to do this from the Forgotpassword.aspx page?
I tried the following but it did not work. I'm not sure the username textbox in the login control has a text property. So I don;t know how to check the user name?
Any Ideas?
Sub PasswordRecovery1_VerifyingUser(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.LoginCancelEventArgs)
If PasswordRecovery1.UserName = "SpecificUserName" Then
PasswordRecovery1.UserNameInstructionText = "You must enter another name."
e.Cancel = True
Else
PasswordRecovery1.UserNameInstructionText = "Enter your User Name to receive your password."
End If
End Sub
Member
269 Points
2879 Posts
Re: No Forgotpassword for a specific user
Apr 28, 2014 07:28 PM|Jackxxx|LINK
Is it possible to do this from the Forgotpassword.aspx page?
I tried the following but it did not work. I'm not sure the username textbox in the login control has a text property. So I don;t know how to check the user name?
Any Ideas?
Jackxxx