Saturday, November 22, 2008

Getting Current User in Infopath UI

Scenario:
You want to know the currently logged in user name to do some formatting.

Solution:
You can use inbuild function to get the information.

To get the current use name:

username()

These functions are only available in InfoPath 2007.

0 comments: