finding_20the_20current_20user_20name
Finding the current user name
by Richard Russell, October 2010
To find the user name for the current thread use this function:
DEF FNusername LOCAL name%, size% size% = 255 DIM name% LOCAL size% SYS "GetUserName", name%, ^size% = $$name%
The function can be called in the following context:
PRINT "The user name is " FNusername
finding_20the_20current_20user_20name.txt · Last modified: 2024/01/05 00:22 by 127.0.0.1