Re: [python-win32] user currently connected
[le dahut] > How can I get the name of a user currently connected on a windows workstation ? I mean a sort of "whoami". import getpass getpass.getuser () Or import win32api win32api.GetUserName () Or import os os.environ['USERNAME'] TJG
[python-win32] user currently connected
Hi, How can I get the name of a user currently connected on a windows workstation ? I mean a sort of "whoami". Thanks ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32