IsGecosDefined

Determines whether there is a GECOS field defined for this user in this zone.

Syntax

bool IsGecosDefined {get; set;}

Property value

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

Exceptions

IsGecosDefined throws an InvalidOperationException if the GECOS field has not been defined and you attempt to set this property true.