Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LogonUser() Issues With Win 2K
Message
 
À
23/09/2008 06:37:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01349756
Message ID:
01349991
Vues:
19
Hi Fred,

>I guess it is something to do with SE_TCB_NAME right. Has anyone gotten the solution for this.

Yes, that's the way it is in Windows 2000. You need the SE_TCB_NAME privilege in order to call LogonUser. There are no easy solutions for that. You could use a service or a COM object to execute code as a different user, but you cannot impersonate a different users in your application. The easier solution would really be to upgrade to Windows XP.
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform