Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating NT Network passwords...
Message
From
04/06/1999 20:30:34
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00225947
Message ID:
00226727
Views:
41
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform