def get_user_notifications(self, user):
from canvasapi.user import User<EOL>user_id = obj_or_id(user, "<STR_LIT:user>", (User,))<EOL>return PaginatedList(<EOL>AccountNotification,<EOL>self._requester,<EOL>'<STR_LIT:GET>',<EOL>'<STR_LIT>'.format(self.id, user_id)<EOL>)<EOL>
Return a list of all global notifications in the account for
this user. Any notifications that have been closed by the user
will not be returned.

:calls: `GET /api/v1/accounts/:account_id/users/:user_id/account_notifications \
<https://canvas.instructure.com/doc/api/account_notifications.html#method.account_notifications.user_index>`_

:param user: The user object or ID to retrieve notifications for.
:type user: :class:`canvasapi.user.User` or int

:rtype: :class:`canvasapi.paginated_list.PaginatedList` of
    :class:`canvasapi.account.AccountNotification`