NWDSPutAttrName(3nw)


NWDSPutAttrName -- stores an attribute name in an request buffer to be used by a Directory Services function

Synopsis

   #include <nwnet.h> 
   or 
   #include <nwdsbuft.h> 
   

NWDSCCODE N_API NWDSPutAttrName (NWDSContextHandle context, pBuf_T buf, pnstr8 attrName);

Description

The parameters are as follows:

context
(IN) Specifies the Directory context for the request.

buf
(IN) Points to the request buffer in which to store the attribute name.

attrName
(IN) Points to the attribute name to store in the request buffer.

Return values

0x0000
SUCCESSFUL

Negative Value
Negative values indicate errors. For errors returned by Directory Services, see ``Directory Services OS Errors'' (-001 to -255), ``Directory Services Client Library Errors'' (-301 to -399), or ``Directory Services Agent in the Server Errors'' (-601 to -699).

Notices

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 double-byte characters (Unicode is double-byte). One character is used for NULL termination.

Services

Directory

NCP calls

None

References

NWDSAddObject(3nw), NWDSCompare(3nw), NWDSPutAttrVal(3nw), NWDSRead(3nw), NWDSSearch(3nw), NWDSReadAttrDef(3nw), NWDSAddPartition(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.