info(“unixusername”)
info(“unixusername”)

The info(“unixusername”) function returns the short user name of the logged in user.

Description

This function returns the short user name of the logged in user. This is the user name that needs to be used in terminal sessions.

The procedure below generates a list of the processes the current user is currently running.

    shellscript({ps -w -w -U }+info("unixusername"))

See Also

- info("panoramaname") -- returns the name of the currently running copy of Panorama.
- info("user") -- returns the name of the user of this computer.
- os9( -- returns true if running on OS 9.
- osx( -- returns true if running on OS X, otherwise false

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0