code: def username(self):
          
          username = self.config.get("username")
          if not username:
              username = self.userinfo__preferred_username
          return username
docs: Username for the org connection.