Click to See Complete Forum and Search --> : Authenticating NT User


Hari Prasad
June 13th, 2001, 05:03 AM
Hi,
I have an application, that requires the user to be verified through the NT Authentication. The concept is like the user will enter the username, password and the domain to which he is connected. These paramters are to be verified with the NT authentication system and allow/disallow the user from loging into the system. Does any one done similar kind of thing. Has any one has a solution for this. Also any object is there that can list all the domains avialable.

Thanks in advance
Hari

pmmbala
June 13th, 2001, 07:40 AM
Using this API U Can get the Current user name

Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long

password...

i'll search...

pmmbala_old
June 13th, 2001, 07:40 AM
Using this API U Can get the Current user name

Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long

password...

i'll search...

Hari Prasad
June 13th, 2001, 07:54 AM
I think this API will just get me the user name etc.. but what i wanted is to send the password and authenticate it....
Now i am trying with LogonUser api

Hari

cksiow
June 13th, 2001, 08:20 AM
take GINA in MSDN index, you might find some help.

HTH

cksiow
http://vblib.virtualave.net - share our codes