Developer forum

Forum » Development » Reset password - with impersonation

Reset password - with impersonation

Nuno Aguiar
Reply

Hi,

 

I want to "Reset Password" for the secondary user without stopping impersonation - how do I do that?

 

We have a few scenarios where we are using impersonation like this:

  • I login as "Nuno"
  • "Nuno" (auto) impersonates "Store A"

 

The concept is that "Nuno" never does anything by itself, but manages multiple stores he has to impersonate and place order for. He cannot stop impersonation. Everything works perfect except for reset password.

 

It's easy enough to use Razor and GetUserByID with the secondary users's ID (in this case "Nuno"'s ID), but it will not trigger password validation (old password, password complexity level,...)

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Høeg Pedersen
Reply

You dont... Have to be custom.

 
Nuno Aguiar
Reply

Hi Nicolai,

 

Thanks. We'll try to mimic DW's password update in a custom development, so we can keep all of Dynamicweb's features such as encryption type and level

 

Nonetheless, since this is becoming very usual in B2B scenarios, I posted a feature request for it http://developer.dynamicweb.com/forum.aspx?ThreadID=47742&PID=48

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum