Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I validate an NT password?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00909838
Message ID:
00936210
Views:
35
>>>David,
>>Hi George
>>It works fine if password if valid, but get an OLE error, "Access is denied" on this line
>>
>>
loName.InitEx(3, "", lcUser, "", tcPassword)
>>
>>if either the password or user name (and possibly the domain/forest) is incorrect.
>>
>>I've fixed a little bug in the calling example, see below.
>>
>>So you're VERY close here.
>
>Whoops! Well, it was originally written to be a web service.< s > My bad. Note that there are two calls to validate the password. It's been found that the first sometimes suceeds with an invalid password. Probably needs two TRY...CATCH blocks.
>
>You want me to make this modification? I'm sure, however, that you could easily implement it.

I was thinking another try/catch :-) too. Leave it to me George.
Regards
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform