IDL

GET_LOGIN_INFO

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

See Also


IDL_Savefile::Contents, !VERSION



Notes


This page has no user notes yet. Be the first one!


This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.
© 2014 Exelis Visual Information Solutions