The invention relates to the use of a polymeric guanidine derivative based on a diamine containing oxyalkylene chains between two amino groups, with the guanidine derivative representing a product of polycondensation between a guanidine acid addition salt and a diamine containing polyalkylene chains between two amino groups, for the production of a drug composition with antimicrobial activity.