ConvertTo-PropagationFlags

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

Syntax

ConvertTo-PropagationFlags [-ContainerInheritanceFlags] {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
ContainerInheritanceFlags ContainerInheritanceFlags The value to convert to an PropagationFlags value. true false

Return Values

System.Security.AccessControl.PropagationFlags.

EXAMPLE 1

ConvertTo-PropagationFlags -ContainerInheritanceFlags ContainerAndSubContainersAndLeaves

Returns PropagationFlags.None.