Click to See Complete Forum and Search --> : NT4 User Authentication


DaveMcComiskey
August 27th, 2001, 08:35 AM
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

Cakkie
August 27th, 2001, 08:47 AM
You can do that using the LogonUser API
An example can be found here: http://www.vb2themax.com/Item.asp?PageID=CodeBank&Cat=1400&ID=182

Tom Cannaerts
slisse@planetinternet.be

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

vszilard
December 20th, 2001, 03:02 AM
it is not working.....

Hello, Szilard wish you the best.
You can mail me at:darkertemplar@hotmail.com
bye