NWRenameObject
Renames an object in the bindery on the server associated with the connection handle
#include <nwbindry.h> or #include <nwcalls.h> NWCCODE N_API NWRenameObject ( NWCONN_HANDLE conn, const nstr8 N_FAR *oldObjName, const nstr8 N_FAR *newObjName, nuint16 objType);
uses calwin32 Function NWRenameObject (conn : NWCONN_HANDLE; const oldObjName : pnstr8; const newObjName : pnstr8; objType : nuint16 ) : NWCCODE; stdcall;
These are common return values. See Return Values (Return Values for C).
The oldObjName, newObjName, and objType parameters must uniquely identify the bindery object and cannot contain wildcard characters. WILD_CARD_NOT_ALLOWED will be returned if the name field strings are not recognized.
Only SUPERVISOR or a bindery object security equivalent to SUPERVISOR can rename bindery objects.
See Object Type.