A COM interface to ADSI's IDirectoryObject interface.
Derived from PyIUnknown
-
Retrieves an PyADS_OBJECT_INFO object that contains information about the identity and location of a directory service object.
-
Gets one or more specified attributes of the directory service object, as defined in the PyADS_ATTR_INFO structure.
-
Sets one or more specified attributes of the directory service object, as defined in the PyADS_ATTR_INFO structure.
-
-
Deletes a leaf object in a directory tree
PyIDirectoryObject.CreateDSObject
PyIDispatch = CreateDSObject(rdn, attrs
)
-
rdn : PyUnicode
The relative distinguished name (relative path) of the object to be created.
-
attrs : (PyADS_ATTR_INFO, ...)
The attributes to set.
PyIDirectoryObject.DeleteDSObject
DeleteDSObject(rdn) Deletes a leaf object in a directory tree
-
rdn : string
The relative distinguished name (relative path) of the object to be deleted.
PyIDirectoryObject.GetObjectAttributes
(PyADS_ATTR_INFO, ...) = GetObjectAttributes(names) Gets one or more specified attributes of the directory service object, as defined in the PyADS_ATTR_INFO structure.
- names : (PyUnicode, ...)
PyIDirectoryObject.GetObjectInformation
PyADS_OBJECT_INFO = GetObjectInformation() Retrieves an PyADS_OBJECT_INFO object that contains information about the identity and location of a directory service object.
PyIDirectoryObject.SetObjectAttributes
int = SetObjectAttributes(attrs) Sets one or more specified attributes of the directory service object, as defined in the PyADS_ATTR_INFO structure.
-
attrs : (PyADS_ATTR_INFO, ...)
The attributes to set