Page 1 of 1

Getting system username and password

Posted: Fri Dec 24, 2004 1:45 pm
by OmeCloak
Hi all,

I am making a screensaver for the company i work for.
What i want to do is when the user exists the screensaver (mouse, keyb. etc) it has to check what username the user is logged into windows (98) and check if the password matches the users credentials.
Is there a way to get the username, and a way to verify the users password?

Regards, Michel.

Posted: Fri Dec 24, 2004 2:13 pm
by aaron
I don't think that there is way with newer version of windows. The trick is to let windows handle the username/password stuff. When setting upt he screensaver in display properties, make sure that the password protect is enabled. In XP, it's labelled "On resume, password protect"

Posted: Fri Dec 24, 2004 2:22 pm
by OmeCloak
The trick i try to accomplish is to synchronize the login password and the screensaver password.
So the user logs in to the machine, and in some way, the password for the sreensaver is set to the login pw.
Is this possible?

Regards, Michel.