Zum Hauptinhalt springen

Remove-PermissionLevelMapping

Hinweis: Für die PowerShell-Integration ist ein ShareGate Migrate Pro- oder Enterprise-Abonnement erforderlich. Sie ist im Essentials-Plan nicht verfügbar.

Befehl

Remove-PermissionLevelMapping

Beschreibung

Der Befehl zum Entfernen einer Berechtigungsstufenzuordnung.

Beispiele

Zuordnungen entfernen

# 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 :

Syntax

Remove-PermissionLevelMapping
-MappingSettings <MappingSettings>
-Source <String>

Parameter

-MappingSettings <MappingSettings>

Erforderlich?

True

Standardwert

None

Pipelineeingabe zulässig?

True (ByValue, ByPropertyName)

Platzhalterzeichen zulässig?

False

Parametersatzname

(All)

Aliase

None

-Source <String>

Gibt die Quellberechtigungsstufe an.

Erforderlich?

True

Standardwert

None

Pipelineeingabe zulässig?

False

Platzhalterzeichen zulässig?

False

Parametersatzname

(All)

Aliase

None

Dieser Artikel wurde mit künstlicher Intelligenz übersetzt. Bei Unklarheiten konsultieren Sie bitte die englische Originalversion.

Hat dies deine Frage beantwortet?