Stores an attribute name in a request buffer to be used by an eDirectory function.
#include <nwnet.h> or #include <nwdsbuft.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSPutAttrName ( NWDSContextHandle context, pBuf_T buf, pnstr8 attrName);
uses netwin32 Function NWDSPutAttrName (context : NWDSContextHandle; buf : pBuf_T; attrName : pnstr8 ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the request buffer in which to store the attribute name.
(IN) Points to the attribute name to store in the request buffer.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
The maximum size of the attribute name is (MAX_DN_CHARS)+1)*sizeof(character size) where character size is 1 for single-byte characters, and 2 for Unicode characters (Unicode characters are always 16 bits). One character is used for NULL termination.
This function is used for object operations such as reading, searching, comparing, and adding. It is also used for schema operations such as reading class definitions and attribute definitions. For more information on using this function, see the appropriate task in the Tasks chapter.
NWDSAddObject, NWDSCompare, NWDSPutAttrVal, NWDSRead, NWDSReadAttrDef, NWDSSearch