Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enum to indicate what permission would be perserved DataMovement Library.
This enumeration supports a bitwise combination of its member values.
[System.Flags] public enum PreserveSMBPermissions
[<System.Flags>] type PreserveSMBPermissions =
Public Enum PreserveSMBPermissions
To preserve DACL permission.
To preserve Group permission.
Indicate to not preserve any permission
To preserve Owner permission.
In some cases, it requires to enable SeRestorePrivilege to set owner info to local file.
To preserve SACL permission.
It requires to enable SeSecurityPrivilege to get or set SACL from or to local file.