Solved! Go to Solution.
import os name = os.environ.get('USERNAME') print name
View solution in original post