Built method to get all profiles by cohortId