Does anyone know how to get the network logon code from within forms. I need it so that users don't have to log in to a system I am writting but there is still user security.

I've lloked into it and you can get it from the advapi32.dll but I'm not sure how or if you can do dll calls.

Any information will be very gratefully received.

Mike