IsHomeDirectoryDefined

Determines whether there is a home directory defined for this user in this zone.

Syntax

bool IsHomeDirectoryDefined {get; set;}

Property value

Returns true if there is a home directory defined for this user. Set this property false to clear the home directory.

Exceptions

IsHomeDirectoryDefined throws an InvalidOperationException if the home directory has not been defined and you attempt to set this property true.