NWDSGetSyntaxID

Returns the syntax ID of a given attribute.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98, Windows 2000, Windows XP
Library:Cross-Platform NDS (NET*.*)
Service:NDS

Syntax

C

  #include <nwnet.h> 
  or 
  #include <nwdsmisc.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE)  NWDSGetSyntaxID ( 
     NWDSContextHandle   context,  
     pnstr8              attrName,  
     pnuint32            syntaxID); 
  

Pascal

  uses netwin32 
   
  Function NWDSGetSyntaxID 
    (context : NWDSContextHandle; 
     attrName : pnstr8; 
     syntaxID : pnuint32 
  ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

attrName

(IN) Points to the attribute name whose syntax ID you want to determine.

syntaxID

(OUT) Points to the syntax ID of the attribute (see Section 5.26, Syntax IDs).

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

Nonzero values indicate errors. See NDS Return Values (–001 to –799).

Remarks

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).

NCP Calls