The present invention relates to a method of detrimentally affecting biofilms, said method exposing the biofilm to a composition comprising an effective amount of a polymer comprising a first polymerized residue of an ethylenically unsaturated monomer within the polymer backbone structure. The process of carrying out is included. The first polymerized monomer residue includes a covalent bond moiety, the covalent bond moiety (i) presents a pendant from the backbone structure, and (ii) includes a cationic functional group or a precursor functional group thereof.本発明はバイオフィルムに有害な影響を与える方法に関し、前記方法は、ポリマー骨格構造内にエチレン性不飽和モノマーの第一の重合残基を含むポリマーの有効量を含む組成物にバイオフィルムを暴露する工程を含む。前記第一の重合モノマー残基は共有結合部分を含み、前記共有結合部分は、(i)当該骨格構造からペンダントを提示し、さらに(ii)陽イオン官能基又はその前駆官能基を含む。