Listing Directory Vuser Functions (MLDAP) > Alphabetical List of Functions > mldap_delete_ex

mldap_delete_ex

Example: mldap_delete_ex Listing Directory Vuser Functions (MLDAP)

Deletes an entry or attribute for a specific session.

int mldap_delete_ex( MLDAP *pldap, char *transaction, char *dn, LAST );
pldap An LDAP session identifier.
transaction A transaction name for this step. To instruct VuGen not to create a transaction for this step, use a NULL string, "".
dn A Distinguished Name entry. Use the following format: "DN=RDN1, RDN2,..."
LAST A marker indicating the end of the argument list.

The mldap_delete_ex function deletes a file from an LDAP server for the specified session.

This function is for use with multiple sessions. For global or single sessions, use the mldap_delete function, which leaves out the session identifier.

Return Values

If this function succeeds, it returns E_OK. Otherwise, it returns a negative value.

Parameterization

The following argument(s) can be parameterized with standard parameterization: dn