core-bundle/src/Resources/contao/dca/tl_member.php
public function getActiveGroups()
	{
		$arrGroups = array();
		$objGroup = Contao\MemberGroupModel::findAllActive();

		if ($objGroup !== null)
		{
			while ($objGroup->next())
			{
				$arrGroups[$objGroup->id] = $objGroup->name;
			}
		}

		return $arrGroups;
	}
public function getActiveGroups()
	{
		$arrGroups = array();
		$objGroup = Contao\MemberGroupModel::findAllActive();

		if ($objGroup !== null)
		{
			while ($objGroup->next())
			{
				$arrGroups[$objGroup->id] = $objGroup->name;
			}
		}

		return $arrGroups;
	}
Filter disabled groups

@return array