Returns the syntax ID of a given attribute.
#include <nwnet.h> or #include <nwdsmisc.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSGetSyntaxID ( NWDSContextHandle context, pnstr8 attrName, pnuint32 syntaxID);
uses netwin32 Function NWDSGetSyntaxID (context : NWDSContextHandle; attrName : pnstr8; syntaxID : pnuint32 ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the attribute name whose syntax ID you want to determine.
(OUT) Points to the syntax ID of the attribute (see Section 5.26, Syntax IDs).
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
Syntax IDs are enumerated in the nwdsdefs.h file. A description of syntax definitions can be found in Attribute Syntax Definitions
(NDK: Novell eDirectory Schema Reference).