批踢踢實業坊
›
看板
Python
關於我們
聯絡資訊
返回看板
作者
eaden (evenrain)
看板
Python
標題
Re: [問題] Python & Active Directory
時間
Thu May 9 15:20:35 2013
我發現我繞太大圈了,如果只是要取得登入的網域跟帳號的話 其實只要 import win32api import win32con print win32api.GetUserNameEx (win32con.NameSamCompatible) 這樣就可以了... --
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.116.190.212
推
timTan
:看起來神清氣爽~
05/12 01:26