Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WnetAddConnection API help

Status
Not open for further replies.

Sharkfin01

Programmer
Sep 26, 2001
13
0
0
GB
Hi, I'm having difficulty with the above API. In order for me to map to another person's c: drive in NT, I have to connect as an admin account (which I have). Usually, I just right click on Network Neighborhood, type the path to the computer, and in "Connect as:" I enter my admin name. Then, I hit connect, and a window will pop up asking me for my password. However, the API seems to only take argument for password. Any1 have an idea how to get it to take my admin username as well? Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top