Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User authentication in Win2K
Message
 
À
10/12/2004 20:40:45
Goran Zidar
National Australia Bank
Melbourne, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00968399
Message ID:
00968871
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform