public static function getGroupAssigmentOptions($optionName, $individualGroupAssignmentOptions = null) {
        //try object specific settings
        if ($individualGroupAssignmentOptions != null &&
            is_array($individualGroupAssignmentOptions) && 
            array_key_exists($optionName, $individualGroupAssignmentOptions)) 
        {
            return $individualGroupAssignmentOptions[$optionName];
        }
        
        //try yii2 params
        else if (isset(Yii::$app->params['LDAP-Group-Assignment-Options']) &&
            is_array(Yii::$app->params['LDAP-Group-Assignment-Options']) && 
            array_key_exists($optionName, Yii::$app->params['LDAP-Group-Assignment-Options'])) 
        {
            return Yii::$app->params['LDAP-Group-Assignment-Options'][$optionName];
        }
        
        //default from distribution
        else if (array_key_exists($optionName, static::GROUP_ASSIGNMENT_TOUCH_ONLY_MATCHING_REGEX)) {
            return static::GROUP_ASSIGNMENT_TOUCH_ONLY_MATCHING_REGEX[$optionName];
        } 
        
        //Exception
        else {
            throw new \yii\base\Exception('Group-Option ' . $optionName . ' not found. Please define settings in the config/params.php of the yii2 framework as described on top of the UserDbLdap.php');   
        }
    }