Showing posts with label Active Directory. Show all posts
Showing posts with label Active Directory. Show all posts

Monday, November 23, 2009

Modify Active Directory cn attribute

You can rename an object in a context by using Context.rename().
// Rename from Dilip Nimse to Dilip N
ctx.rename("cn=Dilip Nimse", "cn=Dilip N");
This example renames the object that was bound to "cn=Dilip Nimse" to "cn=Dilip N".