Remove-WssMsoSharePointPermission

Remove-WssMsoSharePointPermission

Removes a permission relationship between a user or group and a library or site.

構文

Parameter Set: ByLibrary
Remove-WssMsoSharePointPermission [-Library] <SharePointLibrary> [[-User] <SharePointUser> ] [ <CommonParameters>]

Parameter Set: BySite
Remove-WssMsoSharePointPermission [-Site] <SharePointSite> [[-User] <SharePointUser> ] [ <CommonParameters>]

詳細説明

The Remove-WssMsoSharePointPermission cmdlet removes a permission relationship between a user or group and a library or site. A site stores the library.

パラメーター

-Library<SharePointLibrary>

Specifies a library. The cmdlet removes a permission relationship for the library that you specify.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

True (ByValue, ByPropertyName)

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

false

-Site<SharePointSite>

Specifies a site. The cmdlet removes a permission relationship for the site that you specify.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

True (ByValue, ByPropertyName)

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

false

-User<SharePointUser>

Specifies a user. The cmdlet removes a permission relationship for the user that you specify.

エイリアス

なし

必須?

false

位置は?

2

既定値

なし

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

True (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: Remove a SharePoint permission relationship

This command removes permissions for the user.

PS C:\> Remove-WssMsoSharePointPermission -User "Admin01"
PS C:\> 

関連トピック

Get-WssMsoSharePointPermission

Set-WssMsoSharePointPermission