Get-WssMsoSharePointPermission
Get-WssMsoSharePointPermission
Gets permission settings for a SharePoint Online securable object.
구문
Parameter Set: ByLibrary
Get-WssMsoSharePointPermission [-Library] <SharePointLibrary> [[-User] <SharePointUser> ] [ <CommonParameters>]
Parameter Set: BySite
Get-WssMsoSharePointPermission [-Site] <SharePointSite> [[-User] <SharePointUser> ] [ <CommonParameters>]
자세한 설명
The Get-WssMsoSharePointPermission cmdlet gets permission settings for a SharePoint Online securable object. A site stores the SharePoint Online library.
매개 변수
-Library<SharePointLibrary>
Specifies a SharePoint library. The cmdlet gets permission settings for the library that you specify.
별칭 |
없음 |
필수 여부 |
true |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue, ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Site<SharePointSite>
Specifies a SharePoint site. The cmdlet gets permission settings for the site that you specify.
별칭 |
없음 |
필수 여부 |
true |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue, ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-User<SharePointUser>
Specifies a SharePoint user. The cmdlet gets permission settings for the user that you specify.
별칭 |
없음 |
필수 여부 |
false |
위치 |
2 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
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
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- System.String
예제
Example 1: Get SharePoint permissions
The first command uses the Get-WssMsoSharePointLibrary cmdlet to get a library, and stores the result in the $Library variable.
The second command uses the Get-WssMsoSharePointPrincipal cmdlet to get a SharePoint principal, and stores the result in the $Principal variable.
The last command gets the SharePoint permissions for the library named $Library and the principal named $Principal.
PS C:\> $Library= Get-WssMmoSharePointLibrary | Select-Object -First 1
PS C:\> $Principal= Get-WssMsoSharePointPrincipal | Select-Object -First 1
PS C:\> Get-WssMSOSharePointObjectPermission -SecurableObject $Library -Principal $Principal
PS C:\>