Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control user access
Message
 
 
À
16/05/2001 17:58:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00508132
Message ID:
00508691
Vues:
20
>Hay, I'm working in applications that need control the users security profile, it have a table with all users registered and my problem is control the login in the application looking the (local security account) LSA of Windows and the account on a server domain were he or she is logged.
>
>Any want know and API that return user name and eventually validate a password given to it.
>
>Thanks

To get the user's name, you can use the GetUserName API function documented in the WinAPI section. To verify the password, you can use the NetUserChangePassword API function to attempt to change it to the same password.

See Thread #447938 Message #449121 for more details on the possible error messages returned if not successful and interpreting them for success.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform