Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How can Administrator change the Password of existing User, without knowing his Old Password in Administer Security Tool ?

Reply
Thread Tools

How can Administrator change the Password of existing User, without knowing his Old Password in Administer Security Tool ?

 
 
Luqman
Guest
Posts: n/a
 
      07-02-2007
How can Administrator change the Password of existing User, without knowing
his Old Password in Administer Security Tool ?

One user has forgot his password, and Administer wants to refresh it.

Best Regards,

Luqman



 
Reply With Quote
 
 
 
 
Mark Rae
Guest
Posts: n/a
 
      07-02-2007
"Luqman" <> wrote in message
news:...

> How can Administrator change the Password of existing User


Are you using ActiveDirectory...?


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

 
Reply With Quote
 
 
 
 
Luqman
Guest
Posts: n/a
 
      07-02-2007
Dear Mark,

I am using Sql Membership Provider.

Best Regards,

Luqman

"Mark Rae" <> wrote in message
news:...
> "Luqman" <> wrote in message
> news:...
>
> > How can Administrator change the Password of existing User

>
> Are you using ActiveDirectory...?
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net
>



 
Reply With Quote
 
Riki
Guest
Posts: n/a
 
      07-02-2007
Luqman wrote:
> How can Administrator change the Password of existing User, without
> knowing his Old Password in Administer Security Tool ?
>
> One user has forgot his password, and Administer wants to refresh it.
>
> Best Regards,
>
> Luqman


First reset it, then change it.

Be aware that the user may get an e-mail about these operations.

--

Riki


 
Reply With Quote
 
luqman
Guest
Posts: n/a
 
      07-03-2007
Hi,

How can I reset the Password ?

I did not find any option of resetting Password in ASP.Net Web Site
Administration Tool, please advise.

Best Regards,

Luqman


"Riki" <> wrote in message
news:...
> Luqman wrote:
> > How can Administrator change the Password of existing User, without
> > knowing his Old Password in Administer Security Tool ?
> >
> > One user has forgot his password, and Administer wants to refresh it.
> >
> > Best Regards,
> >
> > Luqman

>
> First reset it, then change it.
>
> Be aware that the user may get an e-mail about these operations.
>
> --
>
> Riki
>
>



 
Reply With Quote
 
Riki
Guest
Posts: n/a
 
      07-12-2007
luqman wrote:
> Hi,
>
> How can I reset the Password ?
>
> I did not find any option of resetting Password in ASP.Net Web Site
> Administration Tool, please advise.


In VB.NET:

Protected Sub ResetPassword(ByVal username As String)
Dim msUser As MembershipUser = Membership.GetUser(username)
Dim strTempPW As String = msUser.ResetPassword("test")
msUser.ChangePassword(strTempPW, "newpassword")
End Sub

--

Riki


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Change a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 1 01-16-2009 02:56 PM
Changing a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 2 01-16-2009 02:08 PM
Your true traveler finds boredom rather agreeable than painful. It isthe symbol of his liberty -- his excessive freedom. He accepts his boredom,when it comes, not merely philosophically, but almost with pleasure. senthilind@gmail.com Computer Support 0 03-02-2008 08:23 AM
Can one be a network administrator without knowing anything abt programming? john63401@yahoo.com MCSE 15 09-15-2003 05:14 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57