DSCResources/MSFT_SPProjectServerGlobalPermissions/MSFT_SPProjectServerGlobalPermissions.schema.mof

1
2
3
4
5
6
7
8
9
10
11
[ClassVersion("1.0.0.0"), FriendlyName("SPProjectServerGlobalPermissions")]
class MSFT_SPProjectServerGlobalPermissions : OMI_BaseResource
{
    [Key, Description("The default zone URL of the Project site to manage the group at")] string Url;
    [Key, Description("The name of the user or group")] string EntityName;
    [Key, Description("What type of entity are you setting permissions for?"), ValueMap{"User","Group"}, Values{"User","Group"}] string EntityType;
    [Write, Description("What permissions should be allowed for this entity?")] string AllowPermissions[];
    [Write, Description("What permissions should be denied for this entity?")] string DenyPermissions[];
    [Write, Description("POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5"), EmbeddedInstance("MSFT_Credential")] String InstallAccount;
};