General information
Category:
Windows API functions
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only