Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating NT Network passwords...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00225947
Message ID:
00226603
Vues:
31
I looked it up and it was easier than I thought:

DECLARE LONG LogonUserA in win32api string,string,string,long,long,long@
cUser = "User"
cDomain = "" && Blank for PDC
cPassword = "Devcon"

IF LogonUserA(cUser,cDomain,cPassword,3,0,0) = 1
=MessageBox("Login Successful")
ELSE
=MessageBox("Login Failed")
QUIT
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform