Link to home
Start Free TrialLog in
Avatar of mikeydk
mikeydkFlag for Denmark

asked on

m new to VB.Net and I'm trying to figure out how to query AD to retrieve the home directory information of the currently logged in user. Any help would be greatly apprecitated. Thanks.

I'm new to VB.Net and I'm trying to figure out how to query AD to retrieve the home directory information of a user.

Any help would be greatly appreciated.

 Thanks.
Avatar of Eoin Ryan
Eoin Ryan
Flag of Ireland image

If the user is currently logged in then from logging it it should be a local variable, shouldn't need to query AD.

MsgBox(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile))

Open in new window

Avatar of mikeydk

ASKER

Its not the current user... I have to be able to search for user X

Mike
ASKER CERTIFIED SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial