def sites(self):
     """The list of SharePoint sites in this group. Access the default site with /sites/root."""
     if self.is_property_available('sites'):
         return self.properties['sites']
     else:
         return SiteCollection(self.context,
                               ResourcePathEntity(self.context, self.resourcePath, "sites"))
Beispiel #2
0
 def sites(self):
     """The collection of sites under this site."""
     if self.is_property_available('sites'):
         return self.properties['sites']
     else:
         from office365.onedrive.siteCollection import SiteCollection
         return SiteCollection(self.context,
                               ResourcePath("sites", self.resourcePath))
Beispiel #3
0
 def followed_sites(self):
     return self.properties.get(
         'followedSites',
         SiteCollection(self.context,
                        ResourcePath("followedSites", self.resource_path)))
 def sites(self):
     """Get sites"""
     return SiteCollection(self, ResourcePathEntity(self, None, "sites"))
 def sites(self):
     """Get sites"""
     return SiteCollection(self, ResourcePath("sites"))
 def sites(self):
     """The list of SharePoint sites in this group. Access the default site with /sites/root."""
     return self.properties.get('sites',
                                SiteCollection(self.context, ResourcePath("sites", self.resource_path)))