NWGetObjectEffectiveRightsExt
Returns the effective rights of an object to the specified directory or file, using UTF-8 strings.
#include <nwbindry.h> or #include <nwcalls.h> NWCCODE N_API NWGetObjectEffectiveRightsExt ( NWCONN_HANDLE conn, nuint32 objID, NWDIR_HANDLE dirHandle, const nstr8 N_FAR *path, nuint8 buNameSpace, pnuint16 rightsMask);
These are common return values. See Return Values (Return Values for C).
To determine the effective rights of the requesting client, NWGetObjectEffectiveRightsExt performs a logical AND between the maximum rights mask of the directory and the current trustee rights of the client.
The current trustee rights of the client are obtained by performing a logical OR between a trustee access mask of the client and the trustee access mask of any object to which the process is security equivalent. The current trustee rights of the client can be explicitly listed in the directory or inherited from the parent directory. The maximum rights masks of parent directories do not affect inherited trustee rights.
NOTE:For information about the requirments for using the NWGetObjectEffectiveRightsExt function, see UTF-8 Path and Filenames in Multiple and Inter-File Services.
NWGetEffectiveRightsExt (Multiple and Inter-File Management)