Skip to content

Latest commit

 

History

History
89 lines (43 loc) · 2.83 KB

PyIDirectoryObject.md

File metadata and controls

89 lines (43 loc) · 2.83 KB

PyIDirectoryObject

PyIDirectoryObject Object

A COM interface to ADSI's IDirectoryObject interface.

Derived from PyIUnknown

Methods

PyIDirectoryObject.CreateDSObject

PyIDispatch = CreateDSObject(rdn, attrs

)

Parameters

  • 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

Parameters

  • 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.

Parameters

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.

Parameters