directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <>
Subject Re: Deleting a node and it's children
Date Tue, 02 Feb 2010 15:41:12 GMT

> Is there any existing method that can delete a node and it's children ? 
> Or do I have to iterate and delete them one by one ?
> If I have to iterate, do you have some code sample I could use ? (my 
> node only have objectClass=person)...

take a look at the deleteTree(LdapDN) and deleteRecursive() methods in [1].
Note that this class is part of the new ApacheDS client-api which is under development.

[1] -

Kiran Ayyagari

View raw message