Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RunAs utility
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00902240
Message ID:
00902334
Vues:
29
FoxPro sample code (members area)

How to Start a Process as Another User (NT/XP/2K)
http://www.news2news.com/vfp/?example=426&function=696

API functions used:
CloseHandle
CreateProcessAsUser
CreateProcessWithLogonW
GetLastError
GetVersionEx
LogonUser

To start a process as another user the LogonUser and CreateProcessAsUser Win32 APIs can be used when running Microsoft Windows NT 4.0 or the CreateProcessWithLogonW Win32 API when running Microsoft Windows 2000/XP or later version.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform