Skip to main content
Remove Permission Level Mapping
Updated this week

Command

Remove-PermissionLevelMapping

Description

The command to remove a permission level mapping.

Index

Examples

Remove mappings

$mappingSettings = Set-PermissionLevelMapping -Source "Full Control" -Destination "Full Control" 
$mappingSettings = Set-PermissionLevelMapping -Source "My Custom Permission" -MappingSettings $mappingSettings  -Destination "Full Control" 
$mappingSettings = Set-PermissionLevelMapping -MappingSettings $mappingSettings -Source Read -Ignore 
$mappingSettings = Remove-PermissionLevelMapping -MappingSettings $mappingSettings -Source "Full Control" 
$mappingSettings  
PropertyMappings        : 
ContentTypeMappings     : 
UserAndGroupMappings    : 
PermissionLevelMappings : My Custom Permission -> Full Control
                          Read                 -> <NO DESTINATION> 
SiteTemplateMappings    :

Syntax

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

Parameters

-MappingSettings <MappingSettings>

Specifies the mapping settings.

Required?

True

Default value

None

Accept pipeline input?

True (ByValue, ByPropertyName)

Accept wildcard characters?

False

Parameter set name

(All)

Aliases

None

-Source <String>

Specifies the source permission level.

Required?

True

Default value

None

Accept pipeline input?

False

Accept wildcard characters?

False

Parameter set name

(All)

Aliases

None

Did this answer your question?