@inrupt/solid-client
    Preparing search index...

    Function getWebIdDataset

    • Get the WebID Profile document dataset.

      Parameters

      • webId: string

        The WebID of the agent whose WebID Profile dataset is to be fetched.

      Returns Promise<Promise<Readonly<{}> & WithResourceInfo & {}>>

      a SolidDataset for the WebID Profile document.

      const webId = "https://example.org/people/me";
      const profile = await getWebIdDataset(webId);
      const podRoot = getPodUrlAllFrom({ webIdProfile: profile, altProfileAll: [] }, webId);
      const profileThing = getThing(profile, webId);
      const name = getStringNoLocale(profileThing, FOAF.name);

      1.24.0