Change the Entry's relative distinguished name.
Rename(NewRdn As String)
Set pLDAP = CreateObject("LDAPClient.3")
Call pLDAP.Connect("ldapserver")
' Brad Walker changed his first name to Dilbert
Set pEntries = pLDAP.Search("o=airius.com", "(&(givenName=Brad)(sn=Walker))")
' Our schema uses the uid as the rdn.
' That is, Brad's dn starts with "uid=bwalker, o=...."
Set pEntry = pEntries(0)
Call pEntry.Rename("uid=dwalker")
' In addition to changing the dn, the uid attribute
' will have changed as a result of this as well.
' Should now be dwalker instead of bwalker.
MsgBox pEntry.Attributes("uid").Values(0)