ConvertTo-PropagationFlag

Converts a Carbon.Security.ContainerInheritanceFlags value to a System.Security.AccessControl.PropagationFlags value.

Syntax

ConvertTo-PropagationFlag [-ContainerInheritanceFlag] {Container | SubContainers | ContainerAndSubContainers | Leaves | ContainerAndLeaves | SubContainersAndLeaves | ContainerAndSubContainersAndLeaves | ChildContainers | ContainerAndChildContainers | ChildLeaves | ContainerAndChildLeaves | ChildContainersAndChildLeaves | ContainerAndChildContainersAndChildLeaves} [<CommonParameters>]

Description

The Carbon.Security.ContainerInheritanceFlags enumeration encapsulates oth System.Security.AccessControl.PropagationFlags and System.Security.AccessControl.InheritanceFlags. Make sure you also call ConvertTo-InheritancewFlags to get the inheritance value.

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
ContainerInheritanceFlag ContainerInheritanceFlags

The value to convert to an PropagationFlags value.

true false

Return Values

System.Security.AccessControl.PropagationFlags.

EXAMPLE 1

ConvertTo-PropagationFlag -ContainerInheritanceFlag ContainerAndSubContainersAndLeaves

Returns PropagationFlags.None.