Hi,
I'm currently experimenting with a list of workstations in an NT domain with the following code:
How can I see what methods and variables result contains? I know if I do result.Name I get the domain name returned. But how can I figure out what other options I have?
Regards,
Ton
I'm currently experimenting with a list of workstations in an NT domain with the following code:
Code:
domain_controller = win32net.NetGetDCName (None, None)
domain_name = win32net.NetUserModalsGet (domain_controller, 2)['domain_name']
adsi = win32com.client.Dispatch ("ADsNameSpaces")
nt = adsi.GetObject ("","WinNT:")
result = nt.OpenDSObject ("WinNT://%s" % domain_name, "", "", 0)
result.Filter = ["computer"]
How can I see what methods and variables result contains? I know if I do result.Name I get the domain name returned. But how can I figure out what other options I have?
Regards,
Ton