Function NnetRights() Foundation
Retrieves access rights to a directory on a server volume.
NnetRights( <cDirectory> ;
) --> nRights
Returns the maximum rights (NetWare 2.x) or the inherited rights (NetWare >3.x) for a user as a numeric value. Use function IsBit() to detect which rights are granted:
Bit set | Character | Granted rights |
---|---|---|
1 | "R" ead | Read access |
2 | "W" rite | Write acces |
3 | "O" pen | Open file |
4 | "C" reate | Create file |
5 | "D" elete | Delete file |
6 | "P" arental | Create subdirectory |
7 | "S" earch | Search files in directory |
8 | "M" odify | Modify files and/or attributes |
Bit set | Character | Granted rights |
---|---|---|
1 | "R" ead | Read access |
2 | "W" rite | Write acces |
3 | Reserved | |
4 | "C" reate | Create file |
5 | "E" rase | Erase file |
6 | "A" ccess | Trustee rights may be changed |
7 | "F" ile scan | Search files in directory |
8 | "M" odify | Modify files and/or attributes |
9 | "S" upervisor | All rights/may change rights |
NOTE - Characters in the second column of the above tables are used to code rights in form of a string (refer to NnetMaxRgh() or NnetRghMsk()).
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.