PreserveSMBPermissions Enum
Definition
Important
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
- Inheritance
-
PreserveSMBPermissions
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | Indicate to not preserve any permission |
Owner | 1 | To preserve Owner permission.
In some cases, it requires to enable SeRestorePrivilege to set owner info to local file.
See |
Group | 2 | To preserve Group permission. |
DACL | 4 | To preserve DACL permission. |
SACL | 8 | To preserve SACL permission.
It requires to enable SeSecurityPrivilege to get or set SACL from or to local file.
See |