Membership.ValidateUser always false

  • Thread starter Thread starter John Devlon
  • Start date Start date
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

Back
Top