Property | Type | Description | |
---|---|---|---|
alreadyAuthorized | bool | ||
contextCount | int |
Method | Description | |
---|---|---|
AddWebPartToPage ( Web web, string webPartFile, Microsoft page, string zoneId ) : void | ||
CreateAuthenticatedUserContext ( string domain, string username, |
||
CreateAuthenticatedUserContextOld ( string domain, string username, |
||
CreateSecureString ( string data ) : |
Creates a Secure String
|
|
DeleteFileByServerRelativeUrl ( Web web, string serverRelativeFilePath ) : bool |
Deletes the specified file from the specified web.
|
|
DeleteListByUrl ( Web web, string webRelativeUrl ) : void | ||
DeleteMasterPageCatalogFile ( Web web, string mpFileName ) : void | ||
DeleteWebPartFile ( Web web, string wpFileName ) : void | ||
EnsureSiteColumn ( Web root, System.Guid fieldID, string fieldAsXml ) : Field | ||
GetFileFromWeb ( Web web, string filePath ) : File | ||
GetMasterPageInfo ( Web web ) : MasterPageInfo | ||
ParseInputLine ( string inputLine ) : string[] | ||
PublishMasterPage ( Web web, string mpFilePath, string title, string description ) : string | ||
ReadInputFile ( string inputFileSpec, bool hasHeader ) : string[] | ||
RemoveWebPartFromPage ( Web web, string wpTitle, File wpPage ) : void | ||
SetMasterPages ( Web web, MasterPageInfo mpi, bool isRoot ) : void | ||
SetMasterPages ( Web web, string mpFilePath, bool isRoot, bool inheritMaster ) : void | ||
UploadDisplayTemplateFileJS ( Web web, string dtFileName, string localFilePath, string displayTemplateFolderName, string title, string description ) : void | ||
UploadMasterPage ( Web web, string mpFileName, string localFilePath, string title, string description ) : string | ||
UploadWebPartFile ( Web web, string wpFileName, string localFilePath, string title, string description ) : void | ||
WebPartIsPresentOnPage ( Web web, string wpTitle, File wpPage ) : bool |
Method | Description | |
---|---|---|
GetContentType ( Web web, List list, string contentType ) : string |
public static AddWebPartToPage ( Web web, string webPartFile, Microsoft page, string zoneId ) : void | ||
web | Web | |
webPartFile | string | |
page | Microsoft | |
zoneId | string | |
return | void |
public static CreateAuthenticatedUserContext ( string domain, string username, |
||
domain | string | |
username | string | |
password | ||
siteUrl | string | |
return | ClientContext |
public static CreateAuthenticatedUserContextOld ( string domain, string username, |
||
domain | string | |
username | string | |
password | ||
siteUrl | string | |
return | ClientContext |
public static CreateSecureString ( string data ) : |
||
data | string | string to be converted |
return |
public static DeleteFileByServerRelativeUrl ( Web web, string serverRelativeFilePath ) : bool | ||
web | Web | this MUST be the web that contains the file to delete |
serverRelativeFilePath | string | the SERVER-relative path to the file ("/sites/site/web/lib/folder/file.ext") |
return | bool |
public static DeleteListByUrl ( Web web, string webRelativeUrl ) : void | ||
web | Web | |
webRelativeUrl | string | |
return | void |
public static DeleteMasterPageCatalogFile ( Web web, string mpFileName ) : void | ||
web | Web | |
mpFileName | string | |
return | void |
public static DeleteWebPartFile ( Web web, string wpFileName ) : void | ||
web | Web | |
wpFileName | string | |
return | void |
public static EnsureSiteColumn ( Web root, System.Guid fieldID, string fieldAsXml ) : Field | ||
root | Web | |
fieldID | System.Guid | |
fieldAsXml | string | |
return | Field |
public static GetFileFromWeb ( Web web, string filePath ) : File | ||
web | Web | |
filePath | string | |
return | File |
public static GetMasterPageInfo ( Web web ) : MasterPageInfo | ||
web | Web | |
return | MasterPageInfo |
public static ParseInputLine ( string inputLine ) : string[] | ||
inputLine | string | |
return | string[] |
public static PublishMasterPage ( Web web, string mpFilePath, string title, string description ) : string | ||
web | Web | |
mpFilePath | string | |
title | string | |
description | string | |
return | string |
public static ReadInputFile ( string inputFileSpec, bool hasHeader ) : string[] | ||
inputFileSpec | string | |
hasHeader | bool | |
return | string[] |
public static RemoveWebPartFromPage ( Web web, string wpTitle, File wpPage ) : void | ||
web | Web | |
wpTitle | string | |
wpPage | File | |
return | void |
public static SetMasterPages ( Web web, MasterPageInfo mpi, bool isRoot ) : void | ||
web | Web | |
mpi | MasterPageInfo | |
isRoot | bool | |
return | void |
public static SetMasterPages ( Web web, string mpFilePath, bool isRoot, bool inheritMaster ) : void | ||
web | Web | |
mpFilePath | string | |
isRoot | bool | |
inheritMaster | bool | |
return | void |
public static UploadDisplayTemplateFileJS ( Web web, string dtFileName, string localFilePath, string displayTemplateFolderName, string title, string description ) : void | ||
web | Web | |
dtFileName | string | |
localFilePath | string | |
displayTemplateFolderName | string | |
title | string | |
description | string | |
return | void |
public static UploadMasterPage ( Web web, string mpFileName, string localFilePath, string title, string description ) : string | ||
web | Web | |
mpFileName | string | |
localFilePath | string | |
title | string | |
description | string | |
return | string |
public static UploadWebPartFile ( Web web, string wpFileName, string localFilePath, string title, string description ) : void | ||
web | Web | |
wpFileName | string | |
localFilePath | string | |
title | string | |
description | string | |
return | void |
public static WebPartIsPresentOnPage ( Web web, string wpTitle, File wpPage ) : bool | ||
web | Web | |
wpTitle | string | |
wpPage | File | |
return | bool |