| Constant |
Value |
Description |
| adModeUnknown |
0 |
Permissions cannot be set or determined |
| adModeRead |
1 |
Read-only |
| adModeWrite |
2 |
Write-only |
| adModeReadWrite |
3 |
Read and write permissions |
| adModeShareDenyRead |
4 |
Prevents other connections from having read permissions |
| adModeShareDenyWrite |
8 |
Prevents other connections from having write permissions |
| adModeShareExclusive |
12 |
Prevents opening other connections |
| adModeShareDenyNone |
16 |
Permits opening other connections with read/write permissions |
| adModeRecursive |
0x400000 |
Used in conjunction with the *ShareDeny* constants to set permissions on sub-records |