Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to log off from RDP if application terminates
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01646034
Message ID:
01646046
Vues:
45
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform