Converts a Carbon.Security.ContainerInheritanceFlags
value to a System.Security.AccessControl.InheritanceFlags
value.
ConvertTo-InheritanceFlag [-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.InheritanceFlags
and System.Security.AccessControl.PropagationFlags
. Make sure you also call ConvertTo-PropagationFlag
to get the propagation value.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
ContainerInheritanceFlag | ContainerInheritanceFlags | The value to convert to an |
true | false |
ConvertTo-InheritanceFlag -ContainerInheritanceFlag ContainerAndSubContainersAndLeaves
Returns InheritanceFlags.ContainerInherit|InheritanceFlags.ObjectInherit
.