Lua → VBScript SwxWare v13.10
This function returns the name of the current script user.
local sName = PBXUser.Name()
This function returns a string value.
Beside the user name there is also the PBXUser.UserId() used to identify a certain user.
If you need to resolve the name or the user id of any SwyxWare user (not only the current script user) you can use the PBXScript.GetUserByAddress() function.
By Tom Wellige