Getting user name from ChangePasswordForm?

Hello,

I am using a custom $$ChangePasswordForm (in domcfg.nsf) to allow users to change their http passwords via the browser (session-based authentication is enabled).

How can I get the name of the user logged in from the ChangePasswordForm ?

Thank you in advance,

Stanislav.

Subject: Getting user name from ChangePasswordForm ?

Where do you want to get it (in a form, page, etc. and with formula or script) ?

Subject: RE: Getting user name from ChangePasswordForm ?

I managed to get the username using the @UserName formula.

Now I need to start a custom java agent when the form is submitted and this agent would need access to the form’s fileds. Do you know if/how this can be achieved?

I tried using the “@Command([RunAgent]; agent)” command on WebQuerySave, but seems this event is not called at all. I guess this is so because there is no document corresponding to the $$ChangePasswordForm form ?

Any help would be appreciated.

Regards,

Stanislav.

Subject: RE: Getting user name from ChangePasswordForm ?

Did you even have any luck getting this to work? I want to run an agent when the user submits their password change.

-chris