I know it's not best practice to send passwords with e-mail, but it is a good enough solution for us right now, however - how can I retrieve a user password? It's not possible with pure xslt is it? I need to do some .net + api stuff?
You can only retrieve passwords if they're not hashed, so check your membership provider settings first! If not hashed, just use some api calls such as User.getAll() or Member.GetAll (or even better Membership.GetAllUsers()), retrieve their login/email/password and send the relevant info. You can do this from xslt, but you'll have to create some xslt extensions.
Send user password with e-mail
Hi!
I know it's not best practice to send passwords with e-mail, but it is a good enough solution for us right now, however - how can I retrieve a user password? It's not possible with pure xslt is it? I need to do some .net + api stuff?
Thanks!
/Jonas
You can only retrieve passwords if they're not hashed, so check your membership provider settings first! If not hashed, just use some api calls such as User.getAll() or Member.GetAll (or even better Membership.GetAllUsers()), retrieve their login/email/password and send the relevant info. You can do this from xslt, but you'll have to create some xslt extensions.
Hope this helps.
Regards,
/Dirk
Ok, thanks Dirk, I will try that.
Dirk, thanks for pointing out the direction, I added a xslt extension-function basically returning :
is working on a reply...