OverviewExamples
table System.GetLANInfo ( |
) |
Returns a table containing the user's LAN information.
None.
(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." |
See also: Related Actions