Forum: Win32/Win64 API (native code)
Delphi
by Remko,
2. Dez 2008
Part 1 of the afore mentioned article is online, you can find it here: http://www.remkoweijnen.nl/blog/2008/11/26/executing-a-fast-user-switch-programmatically-part-1/
Forum: Win32/Win64 API (native code)
Delphi
by Remko,
29. Nov 2008
Ja :-D
The article Chris was referring to will appear in short time, it shows how to execute FUS (Fast User Switch) programmatically. So it sounds like the solution you are looking for. It will only work on Windows XP though.
A simple, but far from elegant, solution might be to to write autologon credentials for a one time only autologon into the registry and perform a reboot.