IBM Books

Administrative API Reference

db2LdapUncatalogDatabase

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

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

Authorization

None

Required Connection

None

Version

db2ApiDf.h

C API Syntax



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

API Parameters

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

pParamStruct
Input. A pointer to the db2LdapUncatalogDatabaseStruct structure.

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

piAlias
Input. Specify an alias name for the database entry. This parameter is mandatory.

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 | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]