IsMembersDefined

Indicates whether Members is defined for this local group.

Syntax

bool IsMembersDefined {get; set;}

Property value

Returns true if Members is defined for this group. Set this property false to clear Members.

Exceptions

IsMembers throws an InvalidOperationException if:

  • Members has not been defined and you attempt to set this property true.

  • If this is not a local group and you attempt to set or get this property.