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

    Function isPodOwner

    • Given a WebID and a Resource that exposes information about the owner of the Pod it is in, returns whether the given WebID is the owner of the Pod.

      Data about the owner of the Pod is exposed when the following conditions hold:

      • The Pod server supports exposing the Pod owner
      • The current user is allowed to see who the Pod owner is.

      If one or more of those conditions are false, this function will return null.

      Parameters

      • webId: string

        The WebID of which to check whether it is the Pod Owner's.

      • resource: WithServerResourceInfo

        A Resource that contains information about the owner of the Pod it is in.

      Returns null | boolean

      Whether the given WebID is the Pod Owner's, if the Pod Owner is exposed, or null if it is not exposed.

      0.6.0