def get_user_info(self, **kwargs):
        """
        Retrieve information about the current user which is authenticated against StackStorm API.

        :rtype: ``dict``
        """
        url = "/user"
        client = httpclient.HTTPClient(
            root=self.endpoints["api"],
            cacert=self.cacert,
            debug=self.debug,
            basic_auth=self.basic_auth,
        )
        response = client.get(url=url, **kwargs)

        if response.status_code != 200:
            ResourceManager.handle_error(response)

        return response.json()

        Retrieve information about the current user which is authenticated against StackStorm API.

        :rtype: ``dict``
        
st2client/st2client/client.py