Accessing the individual's username from Python recipe?

info-rchitect
info-rchitect Registered Posts: 188 ✭✭✭✭✭✭

Hi,

I am trying to access the individual user's username in a Python recipe.

username = getpass.getuser()

It returns an admin type of username. How can I access the correct username of the actual individual?


Operating system used: Windows 10

Tagged:

Best Answer

Answers

Setup Info
    Tags
      Help me…