Returns a list of roles assigned to this user.

        :return: The list of roles.
        :rtype: ``list``

def role_entities(self):
        """Returns a list of roles assigned to this user.

        :return: The list of roles.
        :rtype: ``list``
        """
        return [self.service.roles[name] for name in self.content.roles]