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