Method of modifying a surface (S) of a solid conductive material, comprises (E) applying a negative potential difference, between the surface (S) and a surface (S1) of another solid conductive material laid opposite to the surface (S), and contacting the surface (S) with a liquid medium comprising, in solution, triarylamine compounds (I), simultaneously with the application of the potential difference, where subjecting (I) to electromagnetic radiation for partly converting at least triarylammonium radicals. Method of modifying a surface (S) of a solid conductive material, comprises (E) applying a negative potential difference, between the surface (S) and a surface (S1) of another solid conductive material laid opposite to the surface (S), and contacting the surface (S) with a liquid medium comprising, in solution, triarylamine compounds of formula (I), simultaneously with the application of the potential difference, where subjecting (I) to electromagnetic radiation for partly converting at least triarylammoni