[pygtk] Win 32 query

Brian Rowlands (Greymouth High School) RowlandsB at greyhigh.school.nz
Thu Jun 10 11:41:53 WST 2010


Hi Folks
Hope you can help me with a simple problem.

I have a login script that requires me to display the username and
domain controller the user connects through when logging in to Active
Directory.

I can get their username via:

from win32api import GetUserName
user = GetUserName()

 My question is how do I get the domain controller they authenticated
through?


Hope you can help.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20100610/26f5785a/attachment.htm 


More information about the pygtk mailing list