Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to log off from RDP if application terminates
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01646034
Message ID:
01646046
Views:
44
Hi!

>Maybe this ???
>https://msdn.microsoft.com/en-us/library/aa383836(v=vs.85).aspx - but I think they have to be part of the administrator group for it to work...
>
>....you might be able to combine that with detecting how long the user has been idle if you want to get fancy about it....
>https://stackoverflow.com/questions/2212823/how-to-detect-inactive-user
on shutdown quit
run logoff.exe
quit
seems working. Is this OK ?
Andrus
Previous
Reply
Map
View

Click here to load this message in the networking platform