FGetAccessRights (LabVIEW Manager Function)
- Updated2025-01-28
- 1 minute(s) read
FGetAccessRights (LabVIEW Manager Function)
MgErr FGetAccessRights(path, owner, group, permPtr);
Purpose
Returns access rights information about the specified file or directory.
Parameters
Name | Type | Description |
---|---|---|
path | Path | Path of the file or directory about which you want access rights information. |
owner | PStr | Address at which FGetAccessRights stores the owner of the file or directory. |
group | PStr | Address at which FGetAccessRights stores the group of the file or directory. |
permPtr | int32 * | Address at which FGetAccessRights stores the permissions of the file or directory. This parameter is a pointer. |
Return Value
MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.
Value | Corresponding Error Code or Description |
---|---|
noErr | No error. |
mgArgErr | 1 |
fIOErr | 6 |
fNotFound | 7 |