CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2001
    Posts
    11

    Authenticating NT User

    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


  2. #2
    Join Date
    Jan 2001
    Posts
    365

    Re: Authenticating NT User

    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...



  3. #3
    Join Date
    May 2001
    Posts
    11

    Re: Authenticating NT User

    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



  4. #4
    Join Date
    Apr 2000
    Posts
    737

    Re: Authenticating NT User

    take GINA in MSDN index, you might find some help.

    HTH

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



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured