C# Class Microsoft.Legal.MatterCenter.ConfigureLists.ConfigureList

A class to configure lists
Mostrar archivo Open project: Microsoft/mattercenter

Public Methods

Method Description
Main ( string args ) : void

Main method - Start of the program

Private Methods

Method Description
AddRoleDetails ( ClientContext clientContext ) : void

Function to include Role details into Roles List

AddValuesToChoiceColumn ( ClientContext clientcontext ) : void

Creates choice field for contextual help list

AssignPermission ( ClientContext clientcontext, Group matterCenterGroup, List list, string listName, bool isCustomPermission ) : bool

Assigns permission to group

CreateLookUpField ( ClientContext clientcontext ) : void

Creates lookup field for contextual help list

CreateNewPermissionLevel ( ClientContext context, string permissionLevelName, string description ) : bool

Creates a new permission level in specified web context

CreateSharePointList ( ClientContext clientContext, int listCount, string groupName ) : void

Method to create list in site collection

RemovePermissionLevelIfExists ( ClientContext context, string permissionLevelName ) : void

Removes Permission level if exists in web context

RevertCreatedList ( ClientContext clientContext, int listCount, string errorFilePath ) : void

A method to delete a list, if it exists

Method Details

Main() public static method

Main method - Start of the program
public static Main ( string args ) : void
args string Input from console
return void