GET_LOGIN_INFO
The GET_LOGIN_INFO function returns the name of the computer running the IDL process, as well as the user’s login name.
Examples
At the command line, type:
help, GET_LOGIN_INFO(), /STRUCTURES
IDL displays information similar to the following:
** Structure <1778568>, 2 tags, length=24, data length=24, refs=1:
MACHINE_NAME STRING 'BULLWINKLE'
USER_NAME STRING 'bbadanov'
Syntax
Result = GET_LOGIN_INFO()
Return Value
Returns an anonymous structure with the following fields:
Field |
Type |
Description |
MACHINE_NAME |
String |
The hostname of the machine on which IDL is running. |
USER_NAME |
String |
The username of the user who logged in and ran IDL. |
Version History
7.0 |
Introduced |