Setting user password

[C#]

 

using CMS.SiteProvider;

 

...

 

UserInfoProvider.SetPassword("testinguser", "newpassword");