473,320 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

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
5 2451
"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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Arno R | last post by:
Hi there, I just distributed an application in which I (try to) change db.properties depending on CurrentUser() For instance I set the property's AllowBypassKey and AllowBuiltinToolbars to False...
2
by: Simple Java Drinker | last post by:
I decided to reinstall the Windows XP on my computer by using the Repair Option. After typing "R" as required I am requested to input an administrator password. The problem is that no administrator...
6
by: Philip Wagenaar | last post by:
What is the best way to create a local user on the machine with administrator rights? I have problems with my code on machines that have password policy. The problem is that when the user is...
12
by: Lile | last post by:
Hello ! I have a problem: I started a new PC, with Windows XP Pro. The first time, it asked me to define the language for region options, language, and keyboard. It offered me corespodentlly :...
1
by: Sankalp | last post by:
Hi, I am using VB 2005. My application has many data bound controls. The connection is stored in the app.config file. I want the application to start with a default connection string and while...
0
by: =?Utf-8?B?am1obWFpbmU=?= | last post by:
I'm trying to create a process that allows me to limit the non-alphanumeric characters generated with the PasswordRecovery control. Specially I want to suppress some characters for security...
3
by: W C Hull | last post by:
We have a request from Auditing to modify the password an a local workstation administrative account every 90 days. We are developing two programs - a VB6 GUI program that will allow the...
1
by: Jack Russell | last post by:
Under XP I used the following code AppDomain.CurrentDomain.SetPrincipalPolicy(Security.Principal.PrincipalPolicy.WindowsPrincipal) Dim MyPrincipal As System.Security.Principal.WindowsPrincipal...
4
by: =?Utf-8?B?WmFyYm9yZw==?= | last post by:
I'm writing a little program that will run when a user logs in, checks their password expiration and also installs a piece of monitoring software if necessary. The program has to run on Vista so I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.