GETLOG

Portability Subroutine: Retrieves the user's login name.

Module: USE DFPORT

Syntax

CALL GETLOG (name)

name
(Output) Character*(*). User's login name, or all blanks if the name cannot be determined.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

Example

use dfport
character*20 username
CALL GETLOG (username)
print *, "You logged in as ",username