passing user attributes and current ADMP user in to a script

passing user attributes and current ADMP user in to a script

Where can I find a complete list of all variables that are available to pass into a script?  For example, on the user modification template page and on the custom attribute page is the follow example script sample:
eg. cscript test.vbs %userName%
cscript c:\progra~1\test.vbs %userName%


I found that the active directory attribute "mail" and the password from the form can be passed with  cscript test.vbs %userName%, %mail%,  %password%

While "mail" is an AD attribute, "userName" and "password" are not.  Of particular interest is the user calling the template and script.