Dave Thayer wrote:
> On 12/19/06, Ricardo Aráoz <[EMAIL PROTECTED]> wrote:
>> Hi,
>>         I need my application to ask for the user's windows password and
>> validate it (in order to be sure the user hasn't left his computer on
>> and someone else is using it). Is there a way I can do this?
>>
> 
> To avoid any potential password leaks (or accusations) how about
> having your program lock the computer (as in pressing
> windowslogokey-L). According to
> <http://www.foxite.com/archives/how-to-lock-computer-0000084011.htm>
> <http://tinyurl.com/t529n> this is pretty simple:
> 
> DECLARE INTEGER LockWorkStation IN user32
> LockWorkStation()
> 
> dt

Thanks, this will be really useful. But not right now. The problem is I
cannot lock the users station, I'd be hanged. I just need to check
access to my application, not to the entire workstation.



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to