Hi,
Thank you for your message.
I tried following code:
CMS.SiteProvider.UserInfo myUser = CMS.SiteProvider.UserInfoProvider.GetUserInfo(67);
myUser.UserName = "LukeH2";
myUser.Update()
And the password remained untouched. I believe that this is because you are using "var" which is not a UserObject. What you need to use is UserInfo object. Can you try this?
Kind regards,
Richard Sustek