By making use of nextclouds search API, the javascript part enables a search for members by their names.