procedure getRoles