Removes a database entry from LDAP (Lightweight Directory
Access Protocol).
API include file
db2ApiDf.h
API and data structure syntax
SQL_API_RC SQL_API_FN
db2LdapUncatalogDatabase (
db2Uint32 versionNumber,
void * pParmStruct,
struct sqlca * pSqlca);
typedef SQL_STRUCTURE db2LdapUncatalogDatabaseStruct
{
char *piAlias;
char *piBindDN;
char *piPassword;
} db2LdapUncatalogDatabaseStruct;
db2LdapUncatalogDatabase 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.
db2LdapUncatalogDatabaseStruct data structure parameters
- 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.