C# Class Microsoft.Legal.MatterCenter.CreateSiteCollection.Program

A class is entry point of the application
Mostrar archivo Open project: Microsoft/mattercenter

Public Methods

Method Description
ActivateFeature ( string clientUrl, SharePointOnlineCredentials credentials ) : bool

Activates SharePoint feature

Private Methods

Method Description
AssignPermissionToGroup ( ClientContext clientContext, Site collSite, Web site, Group currentGrp ) : void

Assign permission to the group

AssignPermissions ( string clientUrl, SharePointOnlineCredentials credentials, string groupName, string members ) : string

Function is used to create group on each and every site collection with specified permissions

CreateRestrictedGroup ( string siteUrl, SharePointOnlineCredentials onlineCredentials ) : void

Creates group with restricted access permissions on client site collection to allow functionality in matter landing page

CreateSiteCollections ( ClientContext clientContext, string>.Dictionary configVal, string clientUrl, string clientTitle ) : void

Method to create site collections

DeleteSiteCollection ( ClientContext clientContext, string clientUrl ) : void

Method for deleting site collections

Main ( string args ) : void

This method is the entry point for this application

Method Details

ActivateFeature() public static method

Activates SharePoint feature
public static ActivateFeature ( string clientUrl, SharePointOnlineCredentials credentials ) : bool
clientUrl string Client Url
credentials SharePointOnlineCredentials SharePoint Credentials
return bool