Valhalla Legends Forums Archive | Visual Basic Programming | [VB] Switch Users

AuthorMessageTime
PaiD
How would go about Switching Users in XP? I know how to log off but I wanted to make it so the user would stay loaded. I have looking on MSDN and googled and cant find what I am looking for, just found out how to shutdown and/or log of the current user. Is there an API or some FLags I use in the ExitWindowsEX API or could I use Shell and do it? Please Help
July 28, 2005, 8:43 PM
Adron
Try LockWorkstation perhaps?
July 28, 2005, 10:05 PM
Myndfyr
Oooh, I think you're right.  When Fast User Switching is enabled, the welcome screen and FUS takes the place of locking the workstation.
July 28, 2005, 10:14 PM
PaiD
Hm. Thank You :) didnt think about that API.
July 29, 2005, 3:36 PM

Search