Hi, I'm trying to get TerminalServicesProfilePath property on user account in my Active Directory.
adsi = win32com.client.Dispatch('ADsNameSpaces') ldap = adsi.getobject("","LDAP:") logon_ex='cn=Admin,dc=.....' password='mypassword' ex_path="LDAP://myserver/cn=test123,..." obj = ldap.OpenDSObject(ex_path,logon_ex,password,0) obj.Getinfo() Then I tryed with : print obj.TerminalServicesProfilePath or obj.get('TerminalServicesProfilePath') None worked If I use another properties instead, like DisplayName, it works. Any idea what I am doing wrong ?
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32