CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2001
    Location
    Leiceseter England
    Posts
    1

    NT4 User Authentication

    I have created a database and now want to automatically enter the logged in user name on a form (which will be protected so it cant be altered) I also want the user to be askd to enter their NT4 password when they try to save the database. If the password is not the same as their NT4 password they will not be allowed to save. Anyone help me on this



    Dave McComiskey

  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: NT4 User Authentication

    You can do that using the LogonUser API
    An example can be found here: http://www.**************/Item.asp?Pa...at=1400&ID=182

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  3. #3
    Join Date
    Jul 2001
    Location
    Romania
    Posts
    52

    Re: NT4 User Authentication

    it is not working.....

    Hello, Szilard wish you the best.
    You can mail me at:[email protected]
    bye
    It is the weak who are cruel,
    only the strong can be truly gentle!
    Szilard

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