How to know if a specified string is the current windows account password?
-
Sir, Now I waana write a program by which my user can change the current windows account password. So,at first I should check the string typed by my user to see if it's the correct current windows account password. And then write down the new password offered by my user to the correct place. But I do not know how to retrieve the current windows account password or how to check the specified string is just the current windows account password. Please show me the way! Best Regards! momer All the blesses we enjoy are the fruits of labor,toil,study and self-denail.
-
Sir, Now I waana write a program by which my user can change the current windows account password. So,at first I should check the string typed by my user to see if it's the correct current windows account password. And then write down the new password offered by my user to the correct place. But I do not know how to retrieve the current windows account password or how to check the specified string is just the current windows account password. Please show me the way! Best Regards! momer All the blesses we enjoy are the fruits of labor,toil,study and self-denail.
-
Sir, Now I waana write a program by which my user can change the current windows account password. So,at first I should check the string typed by my user to see if it's the correct current windows account password. And then write down the new password offered by my user to the correct place. But I do not know how to retrieve the current windows account password or how to check the specified string is just the current windows account password. Please show me the way! Best Regards! momer All the blesses we enjoy are the fruits of labor,toil,study and self-denail.
momer wrote:
t I do not know how to retrieve the current windows account password or how to check the specified string is just the current windows account password.
is LogonUser api call of any use!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You
-
Meat Loaf wrote:
So you wanna steal someone's password? :~;p
I believe he want to use Windows user security for his program!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You
-
Sir, Now I waana write a program by which my user can change the current windows account password. So,at first I should check the string typed by my user to see if it's the correct current windows account password. And then write down the new password offered by my user to the correct place. But I do not know how to retrieve the current windows account password or how to check the specified string is just the current windows account password. Please show me the way! Best Regards! momer All the blesses we enjoy are the fruits of labor,toil,study and self-denail.
If all you want to do is change the user's password, then check out functions like
NetUserChangePassword(...)
. (Other ones likeNetUserSetInfo(...)
andNetUserGetInfo(...)
might provide some additional education.) Peace! -=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!) -
Meat Loaf wrote:
So you wanna steal someone's password? :~;p
I believe he want to use Windows user security for his program!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You
Hi!Alok, Thank you all. There is no need for me to steal other's password but just to let my user can change their windows password by using my program,which we call as USB Pc-Lock. Best Regards! momer All the blesses we enjoy are the fruits of labor,toil,study and self-denail.
-
Hi!Alok, Thank you all. There is no need for me to steal other's password but just to let my user can change their windows password by using my program,which we call as USB Pc-Lock. Best Regards! momer All the blesses we enjoy are the fruits of labor,toil,study and self-denail.
momer wrote:
my user can change their windows password
look here http://www.codeproject.com/script/comments/forums.asp?msg=1531363&forumid=1647&mode=all&userid=1379778#xx1531363xx[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You