@property<EOL><INDENT>def grants(self):<DEDENT>
from linode_api4.objects.account import UserGrants<EOL>if not hasattr(self, '<STR_LIT>'):<EOL><INDENT>resp = self._client.get(UserGrants.api_endpoint.format(username=self.username))<EOL>grants = UserGrants(self._client, self.username, resp)<EOL>self._set('<STR_LIT>', grants)<EOL><DEDENT>return self._grants<EOL>
Retrieves the grants for this user.  If the user is unrestricted, this
will result in an ApiError.  This is smart, and will only fetch from the
api once unless the object is invalidated.

:returns: The grants for this user.
:rtype: linode.objects.account.UserGrants