Drive Mapping

jglobe

Member
Joined
Aug 27, 2005
Messages
12
Programming Experience
1-3
Can someone point me in the direction of how to map a directory on the server based on the username of the windows user. Basically if "joe" logs in I need to check the server to see if a folder for called "joe" exists > if not create it > then map that directory as his U drive.


I looked into the WNetAddConnection2 api and am assuming I will have to leverage Active Directory somehow.

Any info would be appreciated.
Thanks
 
Back
Top