ms_site: Office 365 SharePoint site

Description Format Fields Methods Initialization See Also Examples

Description

Class representing a SharePoint site.

Format

An R6 object of class ms_site, inheriting from ms_object.

Fields

Methods

Initialization

Creating new objects of this class should be done via the get_sharepoint_site method of the ms_graph or az_group classes. Calling the new() method for this class only constructs the R object; it does not call the Microsoft Graph API to retrieve or create the actual site.

See Also

ms_graph, ms_drive, az_user

Microsoft Graph overview, SharePoint sites API reference

Examples

1
2
3
4
5
6
7
8
## Not run: 

site <- sharepoint_site("https://mycompany.sharepoint.com/sites/my-site-name")
site$list_drives()
site$get_drive()


## End(Not run)

hongooi73/Microsoft365R documentation built on Jan. 12, 2021, 12:36 a.m.