By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,175 Members | 1,689 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,175 IT Pros & Developers. It's quick & easy.

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

P: n/a
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

Jul 2 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
"Luqman" <pe*******@cyber.net.pkwrote in message
news:OP**************@TK2MSFTNGP04.phx.gbl...
How can Administrator change the Password of existing User
Are you using ActiveDirectory...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 2 '07 #2

P: n/a
Dear Mark,

I am using Sql Membership Provider.

Best Regards,

Luqman

"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:Oo**************@TK2MSFTNGP02.phx.gbl...
"Luqman" <pe*******@cyber.net.pkwrote in message
news:OP**************@TK2MSFTNGP04.phx.gbl...
How can Administrator change the Password of existing User

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

Jul 2 '07 #3

P: n/a
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
Jul 2 '07 #4

P: n/a
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" <ri**@dontnagme.comwrote in message
news:u2**************@TK2MSFTNGP03.phx.gbl...
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


Jul 3 '07 #5

P: n/a
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
Jul 12 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.