Administrative API Reference

db2LdapUncatalogNode

Removes a node entry from LDAP (Lightweight Directory Access Protocol).

This API is available on Windows NT, Windows 98, Windows 95, and Windows 2000 only.

Authorization

None

Required Connection

None

Version

db2ApiDf.h

C API Syntax



/* File: db2ApiDf.h */
/* API: db2LdapUncatalogNode */
/* ... */
SQL_API_RC SQL_API_FN
  db2LdapUncatalogNode(
    sqlint32 versionNumber,
    void * pParamStruct,
    struct sqlca * pSqlca);
 
typedef struct
{
  char * piAlias;
  char * piBindDN;
  char * piPassword;
} db2LdapUncatalogNodeStruct;
/* ... */
 

API Parameters

versionNumber
Input. Specifies the version and release level of the structure passed in as the second parameter, pParmStruct.

pParamStruct
Input. A pointer to the db2LdapUncatalogNodeStruct structure.

pSqlca
Output. A pointer to the sqlca structure. For more information about this structure, see SQLCA.

piAlias
Input. Specify the alias of the node to uncatalog from LDAP.

piBindDN
Input. Specify the user's LDAP distinguished name (DN). The LDAP user DN must have sufficient authority to delete the object from the LDAP directory. If the user's LDAP DN is not specified, the credentials of the current logon user will be used.

piPassword
Input. Account password.


[ Top of Page | Previous Page | Next Page ]