Office 365 SharePoint site
Class representing a SharePoint site.
An R6 object of class ms_site
, inheriting from ms_object
.
token
: The token used to authenticate with the Graph host.
tenant
: The Azure Active Directory tenant for this site.
type
: always "site" for a site object.
properties
: The site properties.
new(...)
: Initialize a new site object. Do not call this directly; see 'Initialization' below.
delete(confirm=TRUE)
: Delete a site. By default, ask for confirmation first.
update(...)
: Update the site metadata in Microsoft Graph.
do_operation(...)
: Carry out an arbitrary operation on the site.
sync_fields()
: Synchronise the R object with the site metadata in Microsoft Graph.
list_drives()
: List the drives (shared document libraries) associated with this site.
get_drive(drive_id)
: Retrieve a shared document library for this site. If the ID is not specified, this returns the default document library.
list_subsites()
: List the subsites of this site.
get_lists()
: Returns the lists that are part of this site.
get_list(list_name, list_id)
: Returns a specific list, either by name or ID.
get_group()
: Retrieve the Microsoft 365 group associated with the site, if it exists. A site that backs a private Teams channel will not have a group associated with it.
## Not run: site <- get_sharepoint_site("My site") site$list_drives() site$get_drive() ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.