def getUserInfo(self):
url = "<STR_LIT>".format(url_base=self.url_base)<EOL>r = self._request('<STR_LIT:GET>', url)<EOL>if r.status_code != <NUM_LIT:200>:<EOL><INDENT>raise HydroShareHTTPException((url, '<STR_LIT:GET>', r.status_code))<EOL><DEDENT>return r.json()<EOL>
Query the GET /hsapi/userInfo/ REST end point of the HydroShare server.

:raises: HydroShareHTTPException to signal an HTTP error

:return: A JSON object representing user info, for example:

{
    "username": "username",
    "first_name": "First",
    "last_name": "Last",
    "email": "user@domain.com"
}