external help file | applicable | schema |
---|---|---|
SharePoint Online |
2.0.0 |
Grants the specified principals rights to use the site design.
Grant-PnPSiteDesignRights -Principals <String[]>
-Identity <TenantSiteDesignPipeBind>
[-Rights <TenantSiteDesignPrincipalRights>]
[-Connection <SPOnlineConnection>]
PS:> Grant-PnPSiteDesignRights -Identity 5c73382d-9643-4aa0-9160-d0cba35e40fd -Principals "[email protected]","[email protected]"
Grants the specified principals View rights on the site design specified
PS:> Get-PnPSiteDesign -Title "MySiteDesign" -SiteScriptIds 438548fd-60dd-42cf-b843-2db506c8e259 -WebTemplate TeamSite | Grant-PnPSiteDesignRights -Principals "[email protected]","[email protected]"
Grants the specified principals View rights on the site design specified
The site design to use.
Type: TenantSiteDesignPipeBind
Parameter Sets: (All)
Required: True
Position: 0
Accept pipeline input: True
One or more principals to grant rights to.
Type: String[]
Parameter Sets: (All)
Required: True
Position: Named
Accept pipeline input: False
The rights to set. Defaults to 'View'
Type: TenantSiteDesignPrincipalRights
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: SPOnlineConnection
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False