Pull Username or Machine Name

This example allows you first to pull the current logged on username and the second allows you to pull the machine ID (Normally the Asset ID)

Environ$("username")

Environ$("ComputerName")

Code Snippits