NWDeleteTrustee(3nw)
NWDeleteTrustee --
removes trustee from directory or file's trustee list
Synopsis
#include <nwdentry.h>
or
#include <nwcalls.h>
NWCCODE N_API NWDeleteTrustee
(NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
pnstr8 dirPath,
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 deleted.
- dirPath
-
(IN) Points to 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
- 0x8801
-
INVALID_CONNECTION
- 0x898C
-
N0_MODIFY_PRIVILEGES
- 0x8996
-
SERVER_OUT_OF_MEMORY
- 0x8998
-
VOLUME_DOES_NOT_EXIST
- 0x8999
-
DIRECTORY_FULL
- 0x899B
-
BAD_DIRECTORY_HANDLE
- 0x899C
-
INVALID_PATH
- 0x89A1
-
DIRECTORY_IO_ERROR
- 0x89FC
-
NO_SUCH_OBJECT
- 0x89FD
-
BAD_STATION_NUMBER
- 0x89FE
-
TRUSTEE_NOT_FOUND
- 0x89FF
-
HARDWARE_FAILURE, Failure
Notices
NWDeleteTrustee also revokes a trustee's rights in the specified
directory.
To delete a trustee, the requesting workstation must have access control
rights for 3.x servers or parental rights for 2.x servers in the directory
or in a parent directory.
dirHandle can be zero if dirPath points to the complete
path, including the volume name.
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
as 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
NWAddTrustee(3nw),
NWScanForTrustees(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.