How can I Map a Drive using an specific UserID?
I want to map a drive on a computer providing the userID and password.... All the code i've found so far is using the Windows login.
is this possible??
Thanks
Mary
Printable View
How can I Map a Drive using an specific UserID?
I want to map a drive on a computer providing the userID and password.... All the code i've found so far is using the Windows login.
is this possible??
Thanks
Mary
You're going to have to use some API calls.. search microsofts MSDN site for WNetAddConnection2 and WNetUseConnection. They are similar but you'll use one over the other depending on what you're trying to do. There's a good amount of coding that you're going to have to do for this, just so you know..