nlapiGetUser()

https://system.netsuite.com/app/common/scripting/nlapihandler.nl?downloadapi=T