Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?



why don't you read the password directly from the password textbox of the create user wizard control?

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

Hello Dominick,
I am sorry if I didn't pose my question right in my previous posting.
Yes I am using the same thing but how do I get the user password?
here is how I am trying with
Dim clumsypwd As String =
Membership.GetUser(CreateUserWizard1.UserName).GetPassword.ToString
but it says MemberShip is not desigend to get the password!!!!

Am I missing some thing here?

As far as the remaining values

Dim UserName =
Membership.GetUser(CreateUserWizard1.UserName).ToString
'ProviderUserKey.ToString
Dim SecretQuestionAnswer As String =
CreateUserWizard1.Answer
Dim SecretQuestion As String = CreateUserWizard1.Question
'Membership.GetUser(CreateUserWizard1.Question).ToString
Dim PassWord As String = CreateUserWizard1.Password
I am getting all of these values. But I am trying to retrevie the
confusing password that the system generates when we click on "Forgot
password link" on the login Control.

I also can get the uniqueidentifier UserID using the below line

UserID =
Membership.GetUser(CreateUserWizard1.UserName).ProviderUserKey.ToStrin
g
but not sure why I can't get the password in the similar way.

Thanks in advance,
Thanks


.



Relevant Pages