Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Authentication for a program using the users username and password

Status
Not open for further replies.

Jooky68

Programmer
Jul 10, 2002
231
US
I am attempting to get the username and passoword of the user from teh windows system to use as authentication for getting into a program that i wrote. Can anyone help me, i tried using LogonUserA in API but i cant get it to work. I am not trying to view the password i just want the program to validate the user. Thank you for your time, any response would be greately appreciated
 
To use LogonUserA you have to grant SE_TCB_NAME permission at the user is loggin on (the parameter description is Act as part of the operating system).

It's OK.

Bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top