Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Nov : Checking UserName-Password pair

www.cryer.info
Managed Newsgroup Archive

Checking UserName-Password pair

Subject:Checking UserName-Password pair
Posted by:"RGreen" (rgreen@nospam.org)
Date:Wed, 30 Nov 2005 13:12:00 +0100

Hello!

I want to be sure that a user can access to some functions in my program,
but only if the user is a member of my domain. So the user enters the ID and
Password in a dialog box. To be sure that the username and Pswd is OK I was
thinking of using LogOnUser but it seems that the user running the program
must have then the SE_TCB_NAME privilege which is not acceptable in my case.

Is there some other method/API that can be used to check the ID/Password
combination?

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive