I want to do this:
:SET &USERNAME# = GET_LOGIN(&$LOGIN#,&$AGENT#,&$PLATFORM#,LOGIN_INFO)
Unfortunately, it doesn’t work, because GET_LOGIN doesn’t allow reading login entries for the built-in platforms like UNIX and WINDOWS.
U00020679 Runtime error in object 'UC0.MYJOB1' line '00002': The provided type 'UNIX' is not allowed
Is there a platform-agnostic way around this? I don’t want to read the password, only the user name.