System.GetLANInfo

table System.GetLANInfo ( 

)

Description

Returns a table containing the user's LAN information.

Parameters

None.

Returns

(table) A table containing the user's LAN information indexed by the following categories:

KEY

TYPE

DESCRIPTION

Host

string

The user's local computer name. If the user's system is not connected to a LAN, this value will default to "Unknown" on non-NT systems. NT-based systems always return a host value.

Domain

string

The network domain that the user is logged in to. If the user's system is not connected to a LAN, this value will default to "Unknown " on non-NT systems. NT-based systems always return a domain value.

User

string

The user name that the user is currently logged in as. If the user's system is not connected to a LAN, this value will default to "Unknown."

IP

string

The user's IP address on the local network. If the user's system is not connected to a LAN, this value will default to "Unknown."

NIC

string

The MAC address of the user's NIC (network interface card). If the user's system does not contain a network card, this value will default to "Unknown."

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions