NWIsObjectInSet
Searches a property of type SET for a specified object
#include <nwbindry.h> or #include <nwcalls.h> NWCCODE N_API NWIsObjectInSet ( NWCONN_HANDLE conn, const nstr8 N_FAR *objName, nuint16 objType, const nstr8 N_FAR * propertyName, const nstr8 N_FAR *memberName, nuint16 memberType);
uses calwin32 Function NWIsObjectInSet (conn : NWCONN_HANDLE; const objName : pnstr8; objType : nuint16; const propertyName : pnstr8; const memberName : pnstr8; memberType : nuint16 ) : NWCCODE; stdcall;
These are common return values. See Return Values (Return Values for C).
NWIsObjectInSet requires Read access to the SET property.
The objName, objType, propertyName, memberName, and memberType parameters must uniquely identify the property and cannot contain wildcard characters.
NWIsObjectInSet does not expand members of type GROUP in an attempt to locate a specific member; objects must be explicitly in the group. For example, assume the following bindery objects and properties exist:
Object |
Property |
Property Value |
---|---|---|
JOAN |
|
|
SECRETARIES |
GROUP_MEMBERS |
The object ID of JOAN |
EMPLOYEES |
GROUP_MEMBERS |
The object ID of SECRETARIES |
JOAN is not considered a member of EMPLOYEES; she is not explicitly listed in GROUP_MEMBERS of EMPLOYEES. The bindery does not check for recursive (direct or indirect) membership definitions.
See Object Type.