Table of contents
TOC
Collapse the table of content
Expand the table of content

TenantExtensions.GetOneDriveSiteCollections Method

SharePoint Dev Documents|Last Updated: 6/19/2017
|
1 Contributor

Get OneDrive site collections by iterating through all user profiles.

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static IList<SiteEntity> GetOneDriveSiteCollections(this Tenant tenant)

Parameters

tenant

  Type: Microsoft.Online.SharePoint.TenantAdministration.Tenant
  A tenant object pointing to the context of a Tenant Administration site

Return Value

Type: IList
List of OfficeDevPnP.Core.Entities.SiteEntity objects containing site collection info

See also

© 2018 Microsoft