ID(В ) returns network machine information when using Visual FoxPro in a network environment. The same functionality is available by using SYS(0).
Computer information must first be assigned by the network software and the network shell must be loaded.
If computer information has not been assigned or the network shell hasn't been loaded, ID(В ) returns a character string consisting of 15 spaces, a number sign (#) followed by another space, and then 0. Consult your network documentation for further information on defining machine information.
ID(В ) returns 1 when using Visual FoxPro in a stand-alone environment.
When the computer is connected to a network, ID(В ) returns the computer name, a space, a number sign (#) followed by another space, and then the id of the current user (or the security context in which Visual FoxPro is running). For example:
? ID( )
returns the following format:
MACHINEID # userid