FileAccessRights Enumeration
Specifies file-specific access rights.
Namespace: DevCase.Win32.EnumsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum FileAccessRights
<FlagsAttribute>
Public Enumeration FileAccessRights
Dim instance As FileAccessRights
[FlagsAttribute]
public enum class FileAccessRights
[<FlagsAttribute>]
type FileAccessRights
No code example is currently available or this language may not be supported.
| ReadData |
1 |
For a file object, the right to read the corresponding file data.
For a directory object, the right to read the corresponding directory data.
|
| ListDirectory |
1 |
For a directory, the right to list the contents of the directory.
|
| WriteData |
2 |
For a file object, the right to write data to the file.
For a directory object, the right to create a file in the directory (AddFile).
|
| AddFile |
2 |
For a directory, the right to create a file in the directory.
|
| AppendData |
4 |
For a file object, the right to append data to the file.
(For local files, write operations will not overwrite existing data if this flag is
specified without WriteData.)
For a directory object, the right to create a subdirectory (AddSubdirectory).
|
| AddSubdirectory |
4 |
For a directory, the right to create a subdirectory.
|
| CreatePipeInstance |
4 |
For a named pipe, the right to create a pipe.
|
| ReadExtendedAttributes |
8 |
The right to read extended file attributes
|
| WriteExtendedAttributes |
16 |
The right to write extended file attributes.
|
| Execute |
32 |
For a native code file, the right to execute the file.
This access right given to scripts may cause the script to be executable,
depending on the script interpreter.
|
| Traverse |
32 |
For a directory, the right to traverse the directory.
By default, users are assigned the BYPASS_TRAVERSE_CHECKING privilege,
which ignores the Traverse access right.
|
| DeleteChild |
64 |
For a directory, the right to delete a directory and all the files it contains,
including read-only files.
|
| ReadAttributes |
128 |
The right to read file attributes.
|
| WriteAttributes |
256 |
The right to write file attributes.
|
| StandardRightsRead |
131,072 |
Same as ReadControl.
|
| StandardRightsWrite |
131,072 |
Same as StandardRightsRead.
|