Returns the username of the web user currently viewing this report. If the current user is not logged on in the web server then it returns an empty string. The web username is different than the name returned by the function UserName(number).
i-net Clear Reports does not have its own login system, rather it uses the Single Sign-On of the web server.
For testing this function with the i-net Designer you can set a user name in the group "Virtual Permissions" of the Designer Options.
WebUserName()
The current web username. For an anonymous user, an empty string will be returned.
WebUserName() // Returns the current web username
If WebUserName() = "" then FireAccessDenied()