We need to change every name and displayname in our active directory.
I am using this code:
oAccount.cn = oAccount.sn & ", " & oAccount.givenName
oAccount.displayname = oAccount.sn & ", " & Account.givenName & " (Valleyfield - Zinc)"
oAccount.SetInfo
But when it try to run oAccount.SetInfo, I receive this error.
error: "The server is unwilling to process this request"
code: 80072035
How can I change the name of my user?
I am using this code:
oAccount.cn = oAccount.sn & ", " & oAccount.givenName
oAccount.displayname = oAccount.sn & ", " & Account.givenName & " (Valleyfield - Zinc)"
oAccount.SetInfo
But when it try to run oAccount.SetInfo, I receive this error.
error: "The server is unwilling to process this request"
code: 80072035
How can I change the name of my user?