Thema: Delphi Benutzer wechseln

Einzelnen Beitrag anzeigen

Benutzerbild von Remko
Remko

Registriert seit: 10. Okt 2006
Ort: 's-Hertogenbosch, Die Niederlande
222 Beiträge
 
RAD-Studio 2010 Arc
 
#11

Re: Benutzer wechseln

  Alt 18. Aug 2008, 15:22
Actually...
It was documented starting from vista as WTSConnectSession http://msdn.microsoft.com/en-us/library/bb394782(VS.85).aspx which is merely a wrapper for WinStationConnect. I don't think it will work on the services session though (you can try offcourse).
I think for that purpose (switching to session 0) you need to use the WinStationSwitchToServicesSession which I expect to require system permissions. As I recall it's a function (or procedure) without arguments.
  Mit Zitat antworten Zitat