def get_user_info(self):
        """
        Retrieve information about the current user which is authenticated against StackStorm and
        used to perform other datastore operations via the API.

        :rtype: ``dict``
        """
        client = self.get_api_client()

        self._logger.debug("Retrieving user information")

        result = client.get_user_info()
        return result

        Retrieve information about the current user which is authenticated against StackStorm and
        used to perform other datastore operations via the API.

        :rtype: ``dict``
        
st2common/st2common/services/datastore.py