Ektron member to change password -


ektron 8.0.1 sp1

i found solution (ektron user change password?) appears different version of ektron.

on site, members accounts set them , using custom profile page allow them change information. last piece allowing them change password 1 of choosing. tried searching old ektron forums search features seems broken/disabled.

anyone have right code?

i stopped looking specific api call change password , found code using elsewhere userdata, change , save back. worked perfect thought i'd share.

protected void page_init(object sender, eventargs e) {     _userapi = new ektron.cms.api.user.user();     if (_userapi.userid > 0)     {         _userdata = _userapi.getactiveuser(_userapi.userid, false);     } }  protected void btnsubmit_click(object sender, eventargs e) {      // put validation code here      try     {         _userdata.password = txtpassword.text.trim();         _userapi.updateuser(_userdata);     }     catch (exception ex)     {         // handle     } } 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -