NWChangeObjectSecurity
Changes the security access mask of a bindery object
#include <nwbindry.h> or #include <nwcalls.h> NWCCODE N_API NWChangeObjectSecurity ( NWCONN_HANDLE conn, const nstr8 N_FAR *objName, nuint16 objType, nuint8 newObjSecurity);
uses calwin32 Function NWChangeObjectSecurity (conn : NWCONN_HANDLE; const objName : pnstr8; objType : nuint16; newObjSecurity : nuint8 ) : NWCCODE; stdcall;
These are common return values. See Return Values (Return Values for C).
The objName and objType parameters must uniquely identify the bindery object and cannot contain wildcard characters.
NWChangeObjectSecurity cannot set or clear bindery Read or Write security. Only SUPERVISOR or a bindery object that is security equivalent to SUPERVISOR can change security for a bindery object.
See Section 4.3, Security Rights Mask Values.
See Object Type.