identifying user from Win9x?

Mark Hammond MarkH at ActiveState.com
Sat Dec 30 00:03:31 EST 2000


Christopher Tavares wrote:

> The Win32 API call that you want is WNetGetUser. I would expect that it's
> exposed from the win32net module in the python win32 extensions. 

It wasn't.  It is now tho ;-)

win32api.GetUserName() may also be useful.

Mark.




More information about the Python-list mailing list