Writing a user map script

The user map script is JavaScript that you may set up as an optional way to determine the user name used to log onto a web application.