< Back
ConvertTo-CPropagationFlag
Post
NAME ConvertTo-CPropagationFlag
SYNOPSIS
Converts a `Carbon.Security.ContainerInheritanceFlags` value to a `System.Security.AccessControl.PropagationFlags`
value.
SYNTAX
ConvertTo-CPropagationFlag [-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.
PARAMETERS
-ContainerInheritanceFlag
The value to convert to an `PropagationFlags` value.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.Security.AccessControl.PropagationFlags.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>ConvertTo-CPropagationFlag -ContainerInheritanceFlag ContainerAndSubContainersAndLeaves
Returns `PropagationFlags.None`.
RELATED LINKS
ConvertTo-CInheritanceFlag
Grant-CPermission
SYNOPSIS
Converts a `Carbon.Security.ContainerInheritanceFlags` value to a `System.Security.AccessControl.PropagationFlags`
value.
SYNTAX
ConvertTo-CPropagationFlag [-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.
PARAMETERS
-ContainerInheritanceFlag
The value to convert to an `PropagationFlags` value.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.Security.AccessControl.PropagationFlags.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>ConvertTo-CPropagationFlag -ContainerInheritanceFlag ContainerAndSubContainersAndLeaves
Returns `PropagationFlags.None`.
RELATED LINKS
ConvertTo-CInheritanceFlag
Grant-CPermission