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``
        """
        result = {
            "username": self._username,
            "rbac": {"is_admin": True, "enabled": True, "roles": ["admin"]},
            "authentication": {"method": "authentication token", "location": "header"},
        }

        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``
        
st2tests/st2tests/mocks/datastore.py