identifying user from Win9x?
Christopher Tavares
christophertavares at earthlink.net
Fri Dec 29 14:35:25 EST 2000
More information about the Python-list mailing list
Fri Dec 29 14:35:25 EST 2000
- Previous message (by thread): identifying user from Win9x?
- Next message (by thread): identifying user from Win9x?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Frank Miles" <fpm at u.washington.edu> wrote in message news:92ibvf$if2$1 at nntp6.u.washington.edu... > I have a set of python routines that are used to coordinate and > account for various activities in my group. I would like to be > able to tailor how these routines work, and what options are first > presented to each user. > > There are ways to determine the user ID in Unix-based systems (os.getuid). > I haven't yet seen anything comparable for Windows. Possible source > of information: it is SOP for each user to login to the (Novell-based) > network before doing anything else. Is there some way to extract this > information from Windows, or failing that, a Novell network/server? > > TIA... > > -frank > 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. I can't be sure because I don't have python installed on the machine in front of me at the moment. -Chris
- Previous message (by thread): identifying user from Win9x?
- Next message (by thread): identifying user from Win9x?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list