Getting user details in a form

Hello,

I am trying to get a form to display the email address of the Administrator who is entering data into the Form.

The form is tied to an Admin Role, so many different users can summon the form up.

What XPRESS code would extract the email address of the User object who is logged in and entering the data into the (say) Create New User form.

Regards, GMN

[391 byte] By [greenfan88a] at [2007-11-27 6:33:41]
# 1

we can get email of any user directly by

getObject method,it's a form util method in xpress

<get>

<invoke name='getObject' class='com.waveset.ui.FormUtil'>

<ref>:display.session</ref>

<s>User</s>

<ref>ashok</ref>

</invoke>

<s>email</s>

</get>

it will give email directly in forms

just paste it in label value field

thanks

bandlamudi_anila at 2007-7-12 17:59:38 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
To get the email address of the logged in user:<get><getobj><concat><s>User:</s><ref>WF_CASE_OWNER</ref></concat></getobj><s>Email</s></get>
timboa at 2007-7-12 17:59:38 > top of Java-index,Web & Directory Servers,Directory Servers...