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.