Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User authentication in Win2K
Message
 
To
10/12/2004 20:40:45
Goran Zidar
National Australia Bank
Melbourne, Australia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00968399
Message ID:
00968871
Views:
7
Thank you Goran. This does head me in the right direction and I'm trying it as we speak.

I appreciate your help,

Randy

>You might need to build your own form but I think you could use the Win32 API function LogonUser(). I've not done this before so I can't say whether this will work or not - for example I can't say what might happens to the system if the userid / password is incorrect. Anyway I hope this function at least points you in a useful direction.
>
>DECLARE INTEGER LogonUser IN advapi32;
> STRING cUsername,;
> STRING cDomain,;
> STRING cPassword,;
> INTEGER nLogonType,;
> INTEGER nLogonProvider,;
> INTEGER @ nToken
Randy Barnett
Ascension Capital Group
Arlington, Texas USA
Previous
Reply
Map
View

Click here to load this message in the networking platform