def METHOD_NAME(self):
    username = self.username
    if not username:
        return {}
    authorinfo = self.membership_tool.getMemberInfo(username)
    portrait = self.membership_tool.getPersonalPortrait(username)
    if not authorinfo or not portrait:
        return {}
    return {"info": authorinfo, "portrait": portrait}