ContributorGlobalSettings Object Members

SharePoint Designer Developer Reference

Represents global settings for Contributor Mode options in the active Web site.

Methods

  Name Description
CommitToWeb Saves ContributorGlobalSettings settings data to the currently active Web site.
GetActiveGroupSetting Retrieves currently active global settings from a ContributorGlobalSettings object.
GetActiveGroupSettingForRegion Retrieves an active group setting from a ContributorSetting object for the currently selected editable region.
ReadSettingsFromXML Reads ContributorGlobalSettings settings data from the specified XML file on disk and stores it in a structure that you can save to the Web by using the CommitToWeb method.
RemoveContributorSettings Removes contributor settings from the ContributorGlobalSettings object.
WriteSettingsToXML Writes ContributorGlobalSettings settings data to an XML file on disk.

Properties

  Name Description
ActiveGroupName Returns a ContributorGroupSettings object that represents the the contributor group currently selected in the Contributor Settings dialog box. Read/write.
Application Returns an Application object that represents the 2nd_SPDesignerGeneric application. Read-only.
DefaultGroupName Returns or sets a String that defines the currently selected contributor group as the default contributor group. Read/write.
Groups Returns a ContributorGlobalSettings object that represents the list of contributor groups currently defined in the Contributor Settings dialog box. Read-only.
IsEnabled Read/write. Returns or sets a true or false value according to whether Contributor Settings are enabled on the site. Contributor Settings are disabled by default.
Parent Returns an Object that represents the parent object of the specified object. Read-only.
Regions Read-only. Returns a ContributorGlobalSettings object that represents the list of editable regions currently displayed in the Contributor Settings dialog box.