Automatisk finne ut av hvilke grunnlag søker har. ()