Converts a Carbon.Security.ContainerInheritanceFlags
value to a System.Security.AccessControl.PropagationFlags
value.
ConvertTo-PropagationFlag [-ContainerInheritanceFlag] {Container | SubContainers | ContainerAndSubContainers | Leaves | ContainerAndLeaves | SubContainersAndLeaves | ContainerAndSubContainersAndLeaves | ChildContainers | ContainerAndChildContainers | ChildLeaves | ContainerAndChildLeaves | ChildContainersAndChildLeaves | ContainerAndChildContainersAndChildLeaves} [<CommonParameters>]
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.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
ContainerInheritanceFlag | ContainerInheritanceFlags | The value to convert to an |
true | false |
ConvertTo-PropagationFlag -ContainerInheritanceFlag ContainerAndSubContainersAndLeaves
Returns PropagationFlags.None
.