HomeDirectory
Gets or sets the home directory for the user.
Syntax
string HomeDirectory {get; set;}
Property value
A string that defines the path to the default home directory for the user from the user’s UNIX profile.
Example
The following code sample illustrates using HomeDirectory in a script:
... 'Get the zone object Set objZone = cims.GetZone("ajax.org/UNIX/Zones/pilot") 'Get the Active Directory user object set objUser = cims.GetUser("ajax.org/Users/pat.hu") 'Get the UNIX profile for the user profile = objUser.UnixProfileByUid(10001) 'Change the default home directory in the user’s UNIX profile set profile.HomeDirectory = “/home/all_users/pathu” ...