The function exports a Sharepoint object that provides a baseUrl and a Sites method for querying SharePoint sites.

  • Parameters

    • clientId: TClientId

      The clientId parameter is a unique identifier for a SharePoint client. It is used to construct the base URL for SharePoint API requests.

    Returns IQuerySP

    The function Sharepoint returns an object with the following properties and methods: