IsShellDefined
Determines whether there is a logon shell defined for this user in this zone.
Syntax
bool IsShellDefined {get; set;}
Property value
Returns true if there is a logon shell defined for this user. Set this property false to clear the shell.
Exceptions
IsShellDefined throws an InvalidOperationException if the logon shell has not been defined and you attempt to set this property true.