Phantom Documentation

[Help Home] [Phantom Home]
GetUserName

string GetUserName()

Return Type: string
Parameters: none

Description:
This function returns a string containing the name of the user currently logged on to the local computer, if any. If no user is logged on, the function displays a warning and returns an empty string ("").


Copyright 2000-2011 Phantom Automated Solutions