Search code examples
content-management-systemasp.net-membershipmembershipektron

Ektron user change password?


I have a Ektron client with Ektron installed. They would like to add the functionality to change a password to something they want. Do I need to be concerned with the ektron part or just go ahead and make my edit?

Is there an easy way to do that? Any links to information would be greatly appreciated.


Solution

  • If you're talking about Ektron CMS400 Membership Users, you can use the Web Service Method:

    User.ResetMembershipUserPassword

    If you're trying to set it for regular CMS400 users, you're out of luck. The administrator will need to reset their password (if they've forgotten it) and the user will need to log back in to the workarea and change their password there.

    UPDATE

    That method resets the password to a random value. To set the password to a desired value, you'll have to use:

    Ektron.Cms.BusinessApi.dll

    Ektron.Cms.UserAPI.ResetMembershipUserPassword(string Username, 
                                                   string oldPassword, 
                                                   string newPassword)