注: PowerShellとの連携には、ShareGate MigrateのProまたはEnterpriseサブスクリプションが必要です。Essentialsプランでは利用できません。
コマンド
Remove-PermissionLevelMapping
説明
アクセス許可レベルのマッピングを削除するコマンドです。
例
マッピングを削除する
# Create or update permission level mappings
$mappingSettings = Set-PermissionLevelMapping -Source "Full Control" -Destination "Full Control"
$mappingSettings = Set-PermissionLevelMapping -Source "My Custom Permission" -MappingSettings $mappingSettings -Destination "Full Control"
# Ignore the "Read" permission level
$mappingSettings = Set-PermissionLevelMapping -MappingSettings $mappingSettings -Source "Read" -Ignore
# Remove the "Full Control" mapping
$mappingSettings = Remove-PermissionLevelMapping -MappingSettings $mappingSettings -Source "Full Control"
# Display the final permission level mappings
$mappingSettings
# Output:
# PropertyMappings :
# ContentTypeMappings :
# UserAndGroupMappings :
# PermissionLevelMappings : My Custom Permission -> Full Control
# Read -> <NO DESTINATION>
# SiteTemplateMappings :
# SensitivityLabelMappings :
構文
Remove-PermissionLevelMapping
-MappingSettings <MappingSettings>
-Source <String>
パラメーター
-MappingSettings <MappingSettings>
マッピング設定を指定します。
必須かどうか | True |
既定値 | None |
パイプライン入力を許可するか | True (ByValue, ByPropertyName) |
ワイルドカード文字を許可するか | False |
パラメーターセット名 | (All) |
エイリアス | None |
-Source <String>
移行元のアクセス許可レベルを指定します。
必須かどうか | True |
既定値 | None |
パイプライン入力を許可するか | False |
ワイルドカード文字を許可するか | False |
パラメーターセット名 | (All) |
エイリアス | None |
この記事はAIによって翻訳されています。ご不明な点がある場合は、英語の原文をご確認ください。
