Enable-WssMsoSharePointPermissionInheritance

Enable-WssMsoSharePointPermissionInheritance

Enables permission inheritance for a SharePoint Online securable object.

構文

Parameter Set: ByLibrary
Enable-WssMsoSharePointPermissionInheritance [-Library] <SharePointLibrary> [ <CommonParameters>]

Parameter Set: BySite
Enable-WssMsoSharePointPermissionInheritance [-Site] <SharePointSite> [ <CommonParameters>]

詳細説明

The Enable-WssMsoSharePointPermissionInheritance cmdlet enables permission inheritance for a SharePoint Online securable object. Securable objects include sites, lists, libraries, folders, documents, or items.

パラメーター

-Library<SharePointLibrary>

Specifies a SharePoint library. The cmdlet enables permission inheritance for a library that you specify.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

-Site<SharePointSite>

Specifies a SharePoint site. The cmdlet enables permission inheritance for a site that you specify.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • Microsoft.WindowsServerSolutions.O365Integration.SharePointLibrary,Microsoft.WindowsServerSolutions.O365Integration.SharePointSite

    Library

    Type: Microsoft.WindowsServerSolutions.O365Integration.SharePointLibrary

    Description: SharePoint library

    Site

    Type: Microsoft.WindowsServerSolutions.O365Integration.SharePointSite

    Description: SharePoint site

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Enable SharePoint permission inheritance

The first command uses the Get-WssMsoSharePointLibrary cmdlet to get a library, and stores the result in the $Library variable.

The second command enables permission inheritance for the library named $Library.

PS C:\> $Library = Get-WssMsoSharePointLibrary | Select-Object -First 1
PS C:\> Enable-WssMsoSharePointPermissionInheritance -SharePointLibrary $Library
PS C:\> 

関連トピック

Disable-WssMsoSharePointPermissionInheritance