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