Membership.ValidateUser always false

J

John Devlon

Hi,

I would like to check of a username and password is correct...

Dim returnValue As Boolean
returnValue = Membership.ValidateUser(Me.Username.Text.ToString,
Me.Password1.Text.ToString)

.... Before adding them as user ....

Membership.CreateUser(Me.Username.Text.ToString, Me.Password1.Text.ToString,
Me.Mail.Text.ToString)

.... But ir returns always "false"

Does anyone have a solution ... ?



Thanx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top