show how type of user.roles field depends on whether groups are used or not