Help resolving \\servername\home in user’s AD profile.

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Iâm new to programming but I have created a windows form program that pulls information from a userâs profile. I have spent days searching for code but Iâve hit a road block. The server has server hidden shares and the userâs home folder is based on their userID. Can someone point me in the right direction, provide some example code for me to analyze or tell me which .NET classes/methods I should use to get the full path?
Example of how the userâs connected home folder is listed in their AD profile: <a rel=nofollow>\servernamehome
Example Shares on server:
A-F stored on home1$
G-K stored on home2$
L-Q stored on home3$
Etc, etc.
Example of shared path: <a rel=nofollow>\servernamehome1$userid
Example of folder path: <a rel=nofollow>\servernamehome1usersuserid

Please let me know if you need anymore information.

Thanks for your help!

View the full article
 
Back
Top