NWScanObjectTrusteePathsExt
Returns the directory paths to which an object has trustee rights, using UTF-8 strings.
#include <nwbindry.h> or #include <nwcalls.h> NWCCODE N_API NWScanObjectTrusteePathsExt ( NWCONN_HANDLE conn, nuint32 objID, nuint16 volNum, pnuint16 iterHandle, pnuint8 accessRights, pnstr8 dirPath1506);
These are common return values. See Return Values (Return Values for C).
NWScanObjectTrusteePathsExt iteratively determines all of the directory paths of the object trustee and corresponding access masks.
NOTE:For information about the requirments for using the NWScanObjectTrusteePathsExt function, see UTF-8 Path and Filenames in Multiple and Inter-File Services.
Upon return, the iterHandle parameter is automatically incremented to point to the next directory path. When all valid directory paths have been returned, SUCCESS is returned and the first character of the dirPath parameter is set to zero.
To use the DOS path returned by the dirPath parameter in subsequent calls, you might have to convert the DOS path to the default name space compatible path.
Only SUPERVISOR, the object, or a bindery object with SUPERVISOR security equivalence can scan the directory paths of an object trustee.
NWScanObjectTrusteePathsExt does not handle 6.x rights perfectly. To retrieve the correct trustee rights on the 6.x platforms, call NWScanObjectTrusteePathsExt to obtain a path. Then call the NWIntScanForTrusteesExt function in Multiple and Inter-File Services to return the rights of the object to the path.
NWIntScanForTrusteesExt (Multiple and Inter-File Management)