[python-win32] Translating vbs GetObject("LDAP://...") to Pyt hon?

R. Alan Monroe amonroe at columbus.rr.com
Tue Nov 9 18:33:52 CET 2004


> schema = GetObject (ad.Schema)
> print schema.mandatoryProperties
> print schema.optionalProperties

I see what you're getting at, but I'm looking at the
"PasswordLastChanged" property, which isn't part of the AD schema per
se. It's a property of the in-memory object only. I want to see what
other properties are available to me also.

The question was a general one too, because I'm likely to want to find
this information for any arbitrary (non-ADSI) COM object in the future.

Alan



More information about the Python-win32 mailing list