Revoke-SPOSiteDesignRights
从网站设计中撤消指定主体的权限。
语法
Default (默认值)
Revoke-SPOSiteDesignRights
[-Identity] <SPOSiteDesignPipeBind>
-Principals <String[]>
[<CommonParameters>]
说明
从网站设计中撤消指定主体的权限。
示例
示例 1
此示例演示如何撤销对 Nestor 网站设计的权限。
Revoke-SPOSiteDesignRights 44252d09-62c4-4913-9eb0-a2a8b8d7f863 `
-Principals "nestorw@contoso.onmicrosoft.com"
参数
-Identity
适用:SharePoint Online
要从中撤消权限的网站设计的 ID。
参数属性
| 类型: | Microsoft.Online.SharePoint.PowerShell.SPOSiteDesignPipeBind |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | 0 |
| 必需: | True |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Principals
适用:SharePoint Online
一个或多个主体,用于撤销对指定网站设计的权限。
参数属性
| 类型: | System.String[] |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。