Title: How can I get the local username?

The library routine C$GETENV can be called on a local or client machine to get the user name.
Here's an example.

The "Client" keyword will be ignored if the program isn't running in thin client mode:

    move "user.name" to varname
    call client "C$GETENV" using varname, ws-username

Authored by: Veryant Support on Mon, Sep 23rd, 2013 at 7:00 PM
This question has been viewed 6243 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=210

Powered by PHPKB Knowledge Base Software