ITEM_xxx [READWRITERS] - Item Data Type - Author Names ----------------------------------------------------------------------------------------------------------
#include <nsfnote.h>
Description :
Author Names fields have external (field definition) data type "Author Names". Domino grants author access to any entity named in an Author Names field.
At the API level, an Author Names field is an item of TYPE_TEXT or TYPE_TEXT_LIST with both the NAMES flag set and the READ/WRITE-ACCESS flag set. The NAMES flag corresponds to the ITEM_NAMES bit in the item flags. The READ/WRITE-ACCESS flag corresponds to the ITEM_READWRITERS bit in the item flags.
Since the API function NSFItemSetText does not set the ITEM_READWRITERS flag, use NSFItemAppend to append Author Names fields to documents.
Sample Usage :
STATUS LNPUBLIC AppendEditorsItem (NOTEHANDLE hNote)
{
STATUS error = NOERROR;
DWORD dwValueLen;
void far *pvoidItemValue;
LIST *pList;
USHORT *pusLength;
USHORT usLen1, usLen2;
char *pchStr;