Removes a trustee from the specified directory or a trustee list for a file
#include <nwdentry.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY(NWCCODE) NWDeleteTrustee (
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
const nstr8 N_FAR *dirPath,
nuint32 objID);
(IN) Specifies the NetWare server connection handle.
(IN) Specifies the NetWare directory handle for the directory whose trustee list is being deleted (0 if the dirPath parameter points to the complete path, including the volume name).
(IN) Points to the directory from which the trustee is being removed.
(IN) Specifies the object ID for the trustee being deleted.
These are common return values; see Return Values (Return Values for C) for more information.
NWDeleteTrustee also revokes the rights of the trustee in the specified directory.
To delete a trustee, the requesting workstation must have access control rights in the directory or in a parent directory.
Deleting the explicit assignment of an trustee object in a directory is not the same as assigning no rights to the object in the directory. If no rights are assigned in a directory, the object inherits the same rights as the parent directory.