1Net::LDAP::Control::TreUesDeerleCtoen(t3r)ibuted Perl DoNceutm:e:nLtDaAtPi:o:nControl::TreeDelete(3)
2
3
4
6 Net::LDAP::Control::TreeDelete - LDAPv3 Tree Delete control object
7
9 use Net::LDAP;
10 use Net::LDAP::Control::TreeDelete;
11
12 $ldap = Net::LDAP->new( "ldap.mydomain.eg" );
13
14 $treedel = Net::LDAP::Control::TreeDelete->new( critical => 1 );
15
16 $msg = $ldap->delete( 'o=University of Michigan,c=US',
17 control => [ $treedel ] );
18
19 die "error: ",$msg->code(),": ",$msg->error() if ($msg->code());
20
22 "Net::LDAP::Control::TreeDelete" provides an interface for the creation
23 and manipulation of objects that represent the "TreeDelete" control as
24 described by draft-armijo-ldap-treedelete-02.txt
25 <https://tools.ietf.org/html/draft-armijo-ldap-treedelete-02>
26
27 It allows the client to delete an entire subtree.
28
29 The control is appropriate for LDAP delete operations [RFC4511] only,
30 and inappropriate for all other operations.
31
32 Its criticality may be TRUE or FALSE; it has no value.
33
34 There is no corresponding response control.
35
37 Since the "TreeDelete" control does not have any values, only the
38 constructor arguments described in Net::LDAP::Control are supported
39
41 As there are no additional values in the control, only the methods in
42 Net::LDAP::Control are available for "Net::LDAP::Control::TreeDelete"
43 objects.
44
46 Net::LDAP, Net::LDAP::Control,
47
49 Peter Marschall <peter@adpm.de>.
50
51 Please report any bugs, or post any suggestions, to the perl-ldap
52 mailing list <perl-ldap@perl.org>
53
55 Copyright (c) 2020 Peter Marschall. All rights reserved. This program
56 is free software; you can redistribute it and/or modify it under the
57 same terms as Perl itself.
58
59
60
61perl v5.34.0 2022-01-21 Net::LDAP::Control::TreeDelete(3)