Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating NT Network passwords...
Message
 
To
04/06/1999 06:38:28
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00225947
Message ID:
00226603
Views:
30
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