Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Authenticating with Active Directory?

Status
Not open for further replies.

WilliamUT

IS-IT--Management
Oct 8, 2002
182
US
I am writing my own screen saver and would like the user to have to enter their username and password to "unlock" the computer. How can I have my screen saver use the security on my W2k3 server AD?

Thanks!
 
Private Declare Function LockWorkStation Lib "user32.dll" () As Long

Then in your code when you resume, you could call it like this to lock the workstation:

Code:
LockWorkStation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top