Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating NT Network passwords...
Message
De
04/06/1999 20:30:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00225947
Message ID:
00226727
Vues:
40
Did you try it? If yes, does it work?

I did something like this a few months ago and I found out that LogonUser requires some permissions that only few applications will have in real life.

Vlad

>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