API programming and Kentico CMS internals > Security management:
Setting user password
[C#]
using CMS.SiteProvider;
...
UserInfoProvider.SetPassword("testinguser", "newpassword");
Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?setting_user_password.htm