Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- From: "Learner" <pradev@xxxxxxxxx>
- Date: 22 May 2006 18:17:49 -0700
Dominick,
This works fine Dim UserID as string =
Membership.GetUser(CreateUserWizard1.UserName).ProviderUserKey.ToString
but I don't know why this
Dim clumsypwd As String =
Membership.GetUser(CreateUserWizard1.UserName).GetPassword.ToString
doesn't work?
I am writing all this code under CreateUserWizard_UserCreated i.e
after user has been created. If this isn't possible I am wondering how
the "Forgot Password?" link on the LoginControl generates the password
for the user so that he can change it to a meaningful password?
For now I got it working like this
Dim PassWord As String = CreateUserWizard1.Password
Dim clumsypwd As String = Membership.GeneratePassword(8, 8)
Membership.GetUser(CreateUserWizard1.UserName).ChangePassword(PassWord,
clumsypwd)
and this kind of solves what I am looking for. Could you help me how do
I lock the user after certain login trails?
Thanks
-L
.
- Follow-Ups:
- Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- From: Dominick Baier [DevelopMentor]
- Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- References:
- Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- From: Dominick Baier [DevelopMentor]
- Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- From: Dominick Baier [DevelopMentor]
- Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- Prev by Date: Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- Next by Date: Active Directory and Roles
- Previous by thread: Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- Next by thread: Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- Index(es):
Relevant Pages
|
|