1 Jan
2001
1 Jan
'01
9:29 p.m.
I was unsuccessful at finding any examples of changing a user's password from DTML, but I did see a few requests for such functionality. I bumped around quite awhile today trying to figure out how to do it. I didn't come up with a good way, but I did find something that works. So, although it's terribly ugly, I thought I'd throw my example out. Perhaps it'll save someone else some time. <dtml-call "REQUEST.set('name', 'k.laird.1')"> <dtml-call "REQUEST.set('password', '5678')"> <dtml-call "REQUEST.set('confirm', '5678')"> <dtml-call "REQUEST.set('roles', ['CRUP_admin'])"> <dtml-call "acl_users.manage_users('Change', REQUEST, RESPONSE)"> --kyler