|
Spec-Zone .ru
спецификации, руководства, описания, API
|
You can rename an object in a context by using Context.rename().
// Rename to Scott S
ctx.rename("cn=Scott Seligman", "cn=Scott S");

// Rename back to Scott Seligman
ctx.rename("cn=Scott S", "cn=Scott Seligman");
For more examples on renaming of LDAP entries check out the Advanced Topics for LDAP users lesson.