info(“user”)
info(“user”)

The info(“user”) function returns the name of the user of this computer.

Description

This function returns the name of the user that is logged into this computer.

The example below shows how the info(“user”) function could be used to prevent anyone except John Smith from using a procedure.

    if info("user")<>"John Smith"
        stop
    endif
    ...
    ... rest of program
    ...

See Also

- info("panoramaname") -- returns the name of the currently running copy of Panorama.
- info("unixusername") -- returns the short user name of the logged in user.
- 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