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/devguide/index.html?setting_user_password.htm