adsi.ADsGetObject

com_object = ADsGetObject(path, iid )

Binds to an object given its path and a specified interface identifier (IID).

Parameters

path : unicode

iid=IID_IDispatch : PyIID

The requested interface