February 2000
Intermediate to advanced
720 pages
15h 26m
English
Renaming an entry means changing the relative distinguished name (RDN) of the entry. Suppose you would like to rename an entry with the DN uid=bjensen, ou=People, o=airius.com to have the DN uid=babsjensen, ou=People, o=airius.com. The RDN of the entry is uid=bjensen. The LDAPConnection.rename method invokes the LDAP operation to change the RDN of the entry. There are four forms of the rename method. We will look at two of these forms:
public void rename(String DN, String newRDN, boolean deleteOldRDN)
throws LDAPException
public void rename(String DN, String newRDN, String newParentDN,
boolean deleteOldRDN) throws LDAPException
The first form of the rename method is for altering the RDN without moving the ...
Read now
Unlock full access