Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatic Logoff
Message
De
29/01/1999 20:02:20
 
 
À
29/01/1999 13:07:10
Christine Bieri
Center For Genome Research
Montréal, Québec, Canada
Information générale
Forum:
Windows
Catégorie:
Administration & Sécurité
Divers
Thread ID:
00181904
Message ID:
00182089
Vues:
17
>Hi There,
>
>I was wondering if there was a way in Windows NT 4.0 to automatically log a user off. Example, I log on as admin. and run some job and lock the screen. I want to walk away and know that as soon as the job is over, the screen will unlock and log me out. We have lot's of users and limited computer resources, so any ideas?

Absolutely. If you can access the Win32 API, your application can use ExitWindowsEx() to force a fresh logon dialog. VB. VFP, Office Components like Word and Excel (via VBA) and many others can use Win32 API calls.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform