Amino and/or ammonium polysiloxane compounds and salts thereof, characterized in that they have at least one functional group, selected from group of the formulas and (VIIIa) wherein U 6 is a divalent linear, cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical having up to 100 carbon atoms, which optionally contains one or more groups, selected from -O-, -C -, -NH- and -NU 8 - or which is optionally substituted by one or more hydroxyl groups, wherein U 8 is hydrogen or a univalent, linear, cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical having up to 100 carbon atoms, which may contain one or more -O- groups and may be substituted by OH, with the proviso that -NH- and - NU 8 - is bonded to a carbonyl and/or thiocarbonyl carbon atom, and U 7 is a univalent, linear, cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical having up to 20 carbon atoms, which may contain one or more -O-groups and may be substituted by OH, with the proviso that the radicals U 7 may be the same or different from each other and at least one radical U 7 per silicon atom is bonded via -O- to the silicon atom, wherein the group of the formula (VIIIa) is contained in the units Q as radical R 1 as defined below, and that it concerns compounds having at least three units selected from the units Q and V, wherein Q is at least a di-, tri- and/or tetravalent amino and/or ammonium group, which is not bonded via a carbonyl carbon atom to V, which is selected from the group consisting of: -NR 1 -, N + R 1 2 -, a saturated or unsaturated, optionally substituted with further substituents, diamino functional heterocycle of the formulas: and as well as an aromatic, optionally substituted diamino functional heterocycle of the formula: a trivalent radical of the formula: a trivalent radical of the formula: or a tetravalent radical of the formula: wherein R 1 each is hydrogen or a univalent organic radical, wherein Q is not bonded to a carbonyl carbon atom, and V is at least an organic unit, which is bonded to the Q units via a carbon atom, with the proviso that at least one of the units V contains a polyorganosiloxane radical and wherein the unit V is selected from at least one multivalent, linear, cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical having up to 1000 carbon atoms, wherein the carbon atoms of the optionally present polyorganosiloxane radical are not included, which optionally contains one or more groups, selected from -O-, -C -, -C -, -NR 2 -, wherein R 2 is hydrogen, a univalent, linear cyclic or branched, saturated, unsaturated or aromatic hydrocarbon radical having up to 300 carbon atoms, which may contain one or more groups selected from -O-, -NH-, -C - and -C - and which is optionally substituted by one or more substituents selected from the group consisting of a hydroxyl group, a optionally substituted, preferably one or more nitrogen atoms containing heterocyclic group, polyether radicals, polyetherester radicals, polyorganosiloxanyl radicals and -Si 3-a (R') a, wherein a is an integer of 0 to 2 and R and R' may be the same or different and are each an organic radical, wherein if multiple groups -NR 2 - are present, these may be the same or different and with the proviso that the group -NR 2 - is bonded to a carbonyl carbon atom and/or thiocarbonyl carbon atom, and polyorganosiloxane radicals and which optionally may be substituted by one or more hydroxyl groups and/or groups of the formula -Si 3-a (R') a wherein a, R and R' are as defined above, and wherein the terminal saturation of the groups Q and V which are connected to each other is done via monovalent organic radicals.