-
Notifications
You must be signed in to change notification settings - Fork 107
SPProjectServerPermissionMode
Yorick Kuijs edited this page Jul 10, 2020
·
11 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 |
Type: Distributed Requires CredSSP: No
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"
PsDscRunAsCredential = $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"
PsDscRunAsCredential = $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