-
Notifications
You must be signed in to change notification settings - Fork 108
SPProjectServerPermissionMode
Yorick Kuijs edited this page Dec 27, 2017
·
12 revisions
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Url | Key | string | The default zone URL of the Project site to set permissions for | |
| PermissionMode | Required | string | What permission mode should PWA use | SharePoint, ProjectServer |
| InstallAccount | Write | PSCredential | POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 |
This resource allows you to set the permissions mode (either SharePoint or ProjectServer) for a specific project server site.
This example shows how to a specific PWA site to use SharePoint permission mode.
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost {
SPProjectServerPermissionMode PermissionMode
{
Url = "http://projects.contoso.com"
PermissionMode = "SharePoint"
InstallAccount = $SetupAccount
}
}
}This example shows how to a specific PWA site to use Project server permission mode.
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost {
SPProjectServerPermissionMode PermissionMode
{
Url = "http://projects.contoso.com"
PermissionMode = "ProjectServer"
InstallAccount = $SetupAccount
}
}
}
- Home
- Getting Started
- Pre-requisites
- Installing the module
- Exporting SharePoint Configuration
- Creating Configuration Files
- Pre-created Examples
- Creating an Azure development environment
- Understanding Resources & Syntax
- Remote PowerShell Authentication
- Contributing to SharePointDsc
- Other useful modules for SharePoint DSC configurations