A ionic compound polymer type having at least five imidazolium group, glyoxal, formaldehyde, at least one C 4 -C 8 - alkylene diamine, at least one protonic acid, and C 8 -C 20 - Compounds are disclosed which can be obtained by reacting alkylamines simultaneously, in particular by reacting glyoxal, formaldehyde, hexylenediamine, acetic acid and dodecylamine simultaneously. Polymeric ionic compounds having at least 5 imidazolium groups exhibit favorable antibacterial properties and include plant protection, personal care, home care, industrial or institutional or hospital disinfection, material protection, or pharmaceuticals It can be used in various formulations for the field of application.少なくとも5個のイミダゾリウム基を有するポリマー型のイオン性化合物であって、グリオキサール、ホルムアルデヒド、少なくとも1種のC4~C8-アルキレンジアミン、少なくとも1種のプロトン酸、およびC8~C20-アルキルアミンを同時に反応させることによって、特にグリオキサール、ホルムアルデヒド、ヘキシレンジアミン、酢酸およびドデシルアミンを同時に反応させることによって得ることができる化合物が開示されている。少なくとも5個のイミダゾリウム基を有するポリマー型のイオン性化合物は、好ましい抗菌特性を示し、植物保護、パーソナルケア、ホームケア、工業用もしくは施設用もしくは病院用の消毒、材料保護、または医薬品を含む適用分野のための様々な製剤で使用することができる。