{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
WebUserName
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).
For testing this function with the i-net Designer you can set a user name in the group "Virtual Permissions" of the Designer Options.
Usage:
WebUserName()
Returns:
The current web username. For an anonymous user, an empty string will be returned.
Examples:
WebUserName() // Returns the current web username
If WebUserName() = "" then FireAccessDenied()