Hi

Me again !!.

I can change all properties on AD apart from the CN name, this is the name displayed withing the AD Tree.

This is the code I am doing which works for everything else.

code:
  
$ADSUser.Put ("cn", $DisplayName)

The $displayname works fine for the Display Name, and I want the CN to be the same.

I have tried this using LDAP and WinNT connectors, have looked through the ADSI help file which I have been using for all the other properties and nothing.

Any clues ???.

Thanks