Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with CreateProcessWithLogonW
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00840676
Message ID:
00841979
Vues:
33
Hi,

Looks as if you managed to turn a passing thought into something useable..<s>

>
I just happened to have the same user on both machines that I was playing with (in the peer-to-peer scenario .. Option 1). It looks this MUST be the case for CPWL to work peer-to-peer ... the user/password combo must exit on BOTH machines. (I'm a little disappointed to find that out.)
>

The docs say CreateProcessWithLogonW() is just a combination of LogonUser() and CreateProcessAsUser() and LogonUser() only allows logging on to the local machine. You just need to ensure the the user that you have logged on as has access rights to the relevant resources on the other machine.

Good luck,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform