Property Name
HomeDirectory
Property Type
String
Description
Gets and sets a user's home directory. This property is used for
specifying a local path or a shared network directory path as a
home directory for a user.
Remarks
When a shared network directory path is specified, the HomeDrive
property can be used to set the drive to which the shared network
directory should be connected. If the HomeDirectory is a local
path, the HomeDrive property is not used.
Example
Dim UserObject As IADsUser
Set UserObject = GetObject("NTDS://DomainName/UserName")
UserObject.HomeDirectory = "\\COMPUTERNAME\USER_DIRECTORYNAME"
UserObject.SetInfo
See Also