Properties

userName

Supported By

Applies To

Global environment

Example

answer "Hello," && the long userName & "!"

Description

The userName property determines the user's login name or full real name. The short userName or abbreviated userName is usually the user's login name. The long userName is usually the user's full real name. If no modifier is specified, long is assumed.

In OpenXION 1.0 and 1.1, the long userName can be set but the short userName is read-only. In OpenXION 1.2 and later, both the long userName and the short userName are read-only. (See note.)

Notes

HyperTalk did not have this property but used a Username global variable for the same purpose. OpenXION avoids using any XION global variables for special purposes.

OpenXION 1.0 and 1.1 did not get the user's full real name from the system, but left the long userName as a property to be set by the user themselves. OpenXION 1.2 and later get the user's full real name from the system instead.

The userName property is specific to OpenXION; it is not part of the XION Scripting Language Standard.