[quote user="swathip"]
Hi,
There is no equivalent function in InfoPath 2003 for username() in Infopath 2007. To get the user name we have to write the code. Use the following code to get the current user name.
String userName = System.Environment.UserName;
[/quote]
I'm sorry, but this method does'nt work with my ...