Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 1.68 KB

Revoke-PnPSiteDesignRights.md

File metadata and controls

75 lines (55 loc) · 1.68 KB
external help file applicable schema
SharePoint Online
2.0.0

Revoke-PnPSiteDesignRights

SYNOPSIS

Revokes the specified principals rights to use the site design.

SYNTAX

Revoke-PnPSiteDesignRights -Principals <String[]>
                           -Identity <TenantSiteDesignPipeBind>
                           [-Connection <SPOnlineConnection>]

EXAMPLES

------------------EXAMPLE 1------------------

PS:> Revoke-PnPSiteDesignRights -Identity 5c73382d-9643-4aa0-9160-d0cba35e40fd -Principals "[email protected]","[email protected]"

Revokes rights to the specified principals on the site design specified

------------------EXAMPLE 2------------------

PS:> Get-PnPSiteDesign -Identity 5c73382d-9643-4aa0-9160-d0cba35e40fd | Revoke-PnPSiteDesignRights -Principals "[email protected]","[email protected]"

Revokes rights to the specified principals on the site design specified

PARAMETERS

-Identity

The site design to use.

Type: TenantSiteDesignPipeBind
Parameter Sets: (All)

Required: True
Position: 0
Accept pipeline input: True

-Principals

One or more principals to revoke.

Type: String[]
Parameter Sets: (All)

Required: True
Position: Named
Accept pipeline input: False

-Connection

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

RELATED LINKS

SharePoint Developer Patterns and Practices