IsGidDefined

Determines whether there is a GID defined for this group.

Syntax

bool IsGidDefined {get; set;}

Property value

Returns true if there is a GID defined for this group. Set this property false to clear the GID.

Exceptions

IsGidDefined throws an InvalidOperationException if the GID has not been defined and you attempt to set this property true.