DSCResources/MSFT_SPDesignerSettings/MSFT_SPDesignerSettings.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SPDesignerSettings")]
class MSFT_SPDesignerSettings : OMI_BaseResource
{
    [Key, Description("The URL of the web application or site collection to configure")] string WebAppUrl;
    [Required, Description("Define the scope of the configuration - either WebApplication or SiteCollection"), ValueMap{"WebApplication","SiteCollection"}, Values{"WebApplication","SiteCollection"}] string SettingsScope;
    [Write, Description("Allow the use of SharePoint Designer")] Boolean AllowSharePointDesigner;
    [Write, Description("Allow pages to be un-ghosted by SharePoint Designer")] Boolean AllowDetachPagesFromDefinition;
    [Write, Description("Allow masterpages to be changed by SharePoint Designer")] Boolean AllowCustomiseMasterPage;
    [Write, Description("Allow site URL structure to be changed by SharePoint Designer")] Boolean AllowManageSiteURLStructure;
    [Write, Description("Allow users to create declarative workflows with SharePoint Designer")] Boolean AllowCreateDeclarativeWorkflow;
    [Write, Description("Allow users to save and re-publish declarative workflows with SharePoint Designer")] Boolean AllowSavePublishDeclarativeWorkflow;
    [Write, Description("Allow users to save declarative workflows as a template from SharePoint Designer")] Boolean AllowSaveDeclarativeWorkflowAsTemplate;
};