Scans the specified directory or file for trustee assignments.
#include <nks/netware.h> int nxScanTrustees ( NXPathCtx_t pathCtx, const char *pathname, uint32_t sequence, uint32_t *count, nxTrustees_t *trusteeVector, uint32_t *nextSequence );
(IN) Specifies the file system path context. Along with the pathname parameter, it specifies the file or directory to scan for trustees.
(IN) Points to a null-terminated Unicode or ASCII string that specifies the name of the file or directory (relative to pathCtx) to scan for trustees.
(IN) Specifies where to begin the scan. On the first scan, set this to 0.
(IN/OUT) Points to the maximum number of trustee structures the trusteeVector can hold. On return, points to the number of structures in the array.
(OUT) Points to an array of structures containing the trustees of the scanned directory or file.
(OUT) Points to the value to use for the sequence parameter in the next scan.
If successful, returns 0. Otherwise returns a nonzero error code.
You can use this function iteratively to scan a directory or file and return information about all the trustees.
You can use this function on traditional, NSS, and remote volumes, but it returns NX_ENOTSUP for the DOS partition.
For information on how pathCtx and pathname work together, see Path Contexts and File System Paths
in Volume 1.