Developer forum

Forum » Development » Password change

Password change


Reply
Hi,

Can someone recommend what is the easiest way to implement password change for extranet user in custom solution?

Replies

 
Reply
Hi

Could you please specify what you mean?
Do you want the user to be able to change password in frontend?
Do you want custom code to change passwords? And when?

 - Lasse
 
Reply
Hi,
Yes, I would like to implement a posibility for the user to change password in frontend.
I noticed that there are some templates, but I'm not sure how to use them.

 
Reply
In the new Extranet module (the one installed with DW7) you can simply use the standard templates to change passwords.

Are you using the pre-DW7 version?
 
Reply
unfortunately we are still not using DW 7.
 
Reply
If not using DW7, create a simple aspx with that queries the URL:

mExtranetGroup=HttpUtility.UrlDecode(Base.ChkString(Base.Request("ExtranetGroup")), Encoding.UTF8);
mAccessUserCustomerNumber=HttpUtility.UrlDecode(Base.ChkString(Base.Request("AccessUserCustomerNumber")), Encoding.UTF8);

mAccessUserUserName=HttpUtility.UrlDecode(Base.ChkString(Base.Request("AccessUserUserName")), Encoding.UTF8);
mAccessUserPassword=HttpUtility.UrlDecode(Base.ChkString(Base.Request("AccessUserPassword")),Encoding.UTF8);
 

...etc..


When done with setting what's relevant to you, build an SQL statement that updates the AccessUser table.


Regards
Morten Snedker

 

You must be logged in to post in the forum