The function exports a Sharepoint object that provides a baseUrl and a Sites method for querying SharePoint sites.
The clientId parameter is a unique identifier for a SharePoint client. It is used to construct the base URL for SharePoint API requests.
clientId
The function Sharepoint returns an object with the following properties and methods:
Sharepoint
The function exports a Sharepoint object that provides a baseUrl and a Sites method for querying SharePoint sites.