NWDeleteTrusteeFromDirectory(3nw)
NWDeleteTrusteeFromDirectory --
removes a trustee from a directory's trustee list
Synopsis
#include <nwdirect.h>
or
#include <nwcalls.h>
NWCCODE N_API NWDeleteTrusteeFromDirectory
(NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
pnstr8 path,
nuint32 objID);
Description
The parameters are as follows:
- conn
-
(IN) Specifies the NetWare server connection handle.
- dirHandle
-
(IN) Specifies the NetWare directory handle for the directory whose trustee list is being modified.
- path
-
(IN) Points to an absolute path (or a path relative to the dirHandle
parameter) specifying the directory from which the trustee is being removed.
- objID
-
(IN) Specifies the bindery object ID for the trustee being deleted.
Return values
- 0x0000
-
SUCCESSFUL
Notices
dirHandle can be zero if path points to the complete path of the directory, including the volume name.
NWDeleteTrusteeFromDirectory revokes a trustee's rights in a specific directory. The requesting workstation must have parental rights in the directory, or in a parent
directory, to delete a trustee.
Deleting the explicit assignment of an object's trustee in a directory is not the same as assigning the object no rights in the directory. If no rights are assigned in a
directory, the object inherits the same rights it has in the parent directory.
Services
File Systems
NCP calls
- 0x2222 22 14
-
Delete Trustee From Directory
- 0x2222 22 43
-
Trustee Remove Ext
- 0x2222 23 17
-
Get File Server Information
- 0x2222 87 11
-
Delete Trustee Set From File Or Subdirectory
References
NWAddTrusteeToDirectory(3nw),
NWScanDirectoryForTrustees2(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.