Methods
public applyTheme(colorPaletteUrl: string, fontSchemeUrl: string, backgroundImageUrl: string, shareGenerated: boolean)
Parameters
-
colorPaletteUrl: string
-
fontSchemeUrl: string
-
backgroundImageUrl: string
-
shareGenerated: boolean
public applyWebTemplate(webTemplate: string)
Parameters
public breakRoleInheritance(copyRoleAssignments: boolean, clearSubscopes: boolean)
Parameters
-
copyRoleAssignments: boolean
-
clearSubscopes: boolean
public customFromJson(initValue: any): boolean
Parameters
Returns
boolean
public deleteObject()
public doesPushNotificationSubscriberExist(deviceAppInstanceId: Guid): BooleanResult
Parameters
-
deviceAppInstanceId: Guid
Returns
BooleanResult
public ensureUser(logonName: string): User
Parameters
Returns
User
public fromJson(initValue: any)
Parameters
public getAvailableWebTemplates(lcid: number, doIncludeCrossLanguage: boolean): WebTemplateCollection
Parameters
-
lcid: number
-
doIncludeCrossLanguage: boolean
Returns
WebTemplateCollection
public getCatalog(typeCatalog: number): List
Parameters
Returns
List
public getEntity(namespace: string, name: string): Entity
Parameters
-
namespace: string
-
name: string
Returns
Entity
public getFileByServerRelativeUrl(serverRelativeUrl: string): File
Parameters
-
serverRelativeUrl: string
Returns
File
public getFolderByServerRelativeUrl(serverRelativeUrl: string): Folder
Parameters
-
serverRelativeUrl: string
Returns
Folder
public getUserById(userId: number): User
Parameters
Returns
User
public get_allowDesignerForCurrentUser(): boolean
Returns
boolean
public get_allowMasterPageEditingForCurrentUser(): boolean
Returns
boolean
public get_allowRevertFromTemplateForCurrentUser(): boolean
Returns
boolean
public get_allowRssFeeds(): boolean
Returns
boolean
public get_appInstanceId(): Guid
Returns
Guid
public get_associatedMemberGroup(): Group
Returns
Group
public get_associatedOwnerGroup(): Group
Returns
Group
public get_associatedVisitorGroup(): Group
Returns
Group
public get_configuration(): number
Returns
number
public get_created(): Date
Returns
Date
public get_currentUser(): User
Returns
User
public get_customMasterUrl(): string
Returns
string
public get_description(): string
Returns
string
public get_documentLibraryCalloutOfficeWebAppPreviewersDisabled(): boolean
Returns
boolean
public get_enableMinimalDownload(): boolean
Returns
boolean
public get_hasUniqueRoleAssignments(): boolean
Returns
boolean
public get_id(): Guid
Returns
Guid
public get_language(): number
Returns
number
public get_lastItemModifiedDate(): Date
Returns
Date
public get_masterUrl(): string
Returns
string
public get_objectVersion(): string
Returns
string
public get_quickLaunchEnabled(): boolean
Returns
boolean
public get_recycleBinEnabled(): boolean
Returns
boolean
public get_rootFolder(): Folder
Returns
Folder
public get_saveSiteAsTemplateEnabled(): boolean
Returns
boolean
public get_serverObjectIsNull(): boolean
Returns
boolean
public get_serverRelativeUrl(): string
Returns
string
public get_showUrlStructureForCurrentUser(): boolean
Returns
boolean
public get_siteUserInfoList(): List
Returns
List
public get_supportedUILanguageIds(): Array<number>
Returns
Array<number>
public get_syndicationEnabled(): boolean
Returns
boolean
public get_title(): string
Returns
string
public get_treeViewEnabled(): boolean
Returns
boolean
public get_uIVersion(): number
Returns
number
public get_uIVersionConfigurationEnabled(): boolean
Returns
boolean
public get_url(): string
Returns
string
public get_webTemplate(): string
Returns
string
public isObjectPropertyInstantiated(propertyName: string): boolean
Parameters
Returns
boolean
public isPropertyAvailable(propertyName: string): boolean
Parameters
Returns
boolean
public loadAndInstallApp(appPackageStream: Array<any>): AppInstance
Parameters
-
appPackageStream: Array<any>
Returns
AppInstance
public loadAndInstallAppInSpecifiedLocale(appPackageStream: Array<any>, installationLocaleLCID: number): AppInstance
Parameters
-
appPackageStream: Array<any>
-
installationLocaleLCID: number
Returns
AppInstance
public loadApp(appPackageStream: Array<any>, installationLocaleLCID: number): AppInstance
Parameters
-
appPackageStream: Array<any>
-
installationLocaleLCID: number
Returns
AppInstance
public mapToIcon(fileName: string, progId: string, size: IconSize): StringResult
Parameters
-
fileName: string
-
progId: string
-
Returns
StringResult
public resetRoleInheritance()
public retrieve()
public retrieve(propertyNames: Array<string>)
Parameters
-
propertyNames: Array<string>
public set_associatedMemberGroup(value: Group)
Parameters
public set_associatedOwnerGroup(value: Group)
Parameters
public set_associatedVisitorGroup(value: Group)
Parameters
public set_customMasterUrl(value: string)
Parameters
public set_description(value: string)
Parameters
public set_enableMinimalDownload(value: boolean)
Parameters
public set_masterUrl(value: string)
Parameters
public set_objectVersion(value: string)
Parameters
public set_quickLaunchEnabled(value: boolean)
Parameters
public set_saveSiteAsTemplateEnabled(value: boolean)
Parameters
public set_serverRelativeUrl(value: string)
Parameters
public set_syndicationEnabled(value: boolean)
Parameters
public set_title(value: string)
Parameters
public set_treeViewEnabled(value: boolean)
Parameters
public set_uIVersion(value: number)
Parameters
public set_uIVersionConfigurationEnabled(value: boolean)
Parameters
public unregisterPushNotificationSubscriber(deviceAppInstanceId: Guid)
Parameters
-
deviceAppInstanceId: Guid
public update()